MsDeploySkipRules in wpp.targets not working with PublishProfiles
问题 I am publishing my MVC project with the PublishProfile through visual studio, (through UI, right click project, publish) and ticking the option to clear the destination folder. But I do not want a specific folder "Downloads" to be cleared I have spent countless hours trying to make this work, I think I have the exact same code as the person explained here but it still deletes the Downloads folder Also as example in the below I have the ExcludeFromPackageFiles of "favicon" which works if I