-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for different publish profiles? #10
Comments
No that's not supported. You can exclude files in the publish profile (.pubxml) but you'll need to author that in MSBuild. |
It may be possible you edit the .pubxml to do what you want. Related code at https://github.com/ligershark/publish-ignore/blob/master/src/ls.pubignore.wpp.targets#L19 |
Thanks Sayed.
|
Try PublishProfile, if that doesn't work respond here and I'll look into it. I'm not 100% sure if VS sets that or not, but for cmd line publish that is the property. |
Nope - that property doesn't work. We tried that and a few other variations but it didn't work. |
Ok I will investigate and reply. |
Is it possible to execute different publish ignore files based on the name of the publish profile?
For example, if we have two publish profiles - one for PublishA and one for PublishB, can we run publishA.ignore and publishB.ignore for these profiles?
The text was updated successfully, but these errors were encountered: