Setting documentation sources outside the GUI

Topics: Developer Forum, User Forum
Aug 26, 2009 at 8:31 PM

Is it possible to set the documentation sources outside the GUI?

Aug 27, 2009 at 1:59 AM
Edited Aug 27, 2009 at 2:00 AM

If building from the command line you can do it with a command line option, a response file, or a target override file.  Setting properties like documentation sources from the command line is a little tricky since they are XML based so you have to specify the content in its XML form. It can be on one line but you need to encode the quote marks:

MSBuild /p:DocumentationSources="<DocumentationSource sourceFile=&quot;..\PathToFile\File.sln&quot; /><DocumentationSource sourceFile=&quot;..\Path\Project2.csproj&quot; />" Docs.shfbproj

See this topic for info on building from the command line: