I\'m trying to publish a .NET web service using Web Deploy. Currently it\'s including XML documentation files in the package. I\'ve unchecked \"XML documentation file\" in t
This will globally disable generation of XML documentation:
msbuild some.web.sln /p:DocumentationFile=""
To skip *.xml files with MSDeploy.exe:
msdeploy -verb:sync -source:contentPath=c:\sourcedir -skip:objectName=filePath,absolutePath=.*.xml -dest:contentPath=c:\newdir