How do I get MSBuild Task to generate XML Documents when building a solution?
Posted
by toba303
on Stack Overflow
See other posts from Stack Overflow
or by toba303
Published on 2010-04-14T17:53:28Z
Indexed on
2010/04/14
20:33 UTC
Read the original article
Hit count: 170
I have a solution with lots of projects. Each project is configured to generate the XML documentation file when building in Debug-Mode (which is default). That works when I build in Visual Studio 2008. In my build script on my integration server I advise MSBuild to build the whole solution, but it won't generate the documentation files. What can I do?
I already tried to explicitly give the Debug-Condition to the build process, but it makes no difference.
<Target Name="BuilSolution">
<MSBuild Projects="C:\Path\To\MySolution.sln" targets="Build" Properties="SolutionConfigurationPlatforms='Debug|Any CPU'"/>
</Target>
There seem to be some ideas to solve this problem when building single projects, but I can't afford to do this, so I need a hint for doing it this way.
Thanks in advance!
© Stack Overflow or respective owner