Hello,
After investigated it, I found the property "DocumentationFile" is responsible for the XML documentation file:
1. Check the 'XML documentation file' checkbox in Project Properties| Build in Visual Studio and save the settings.
2. Compare the new saved project file with the original one, you will find a line of code is added into PropertyGroup: <DocumentationFile>bin\Debug\VSPackage1.XML</DocumentationFile>
So we could run MSBuild to specify this property like:
C:\Windows\system32>msbuild "xxx.csproj" /p:DocumentationFile="bin\Debug\xxx.xml"
I have got many undocumented properties by this way, or through EnvDTE.Project.Properties. :)
Sincerely,
Wesley
Please mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.