<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Generating documentation from code with Team Build</title><link>http://blogs.msdn.com/b/buckh/archive/2007/02/03/generating-documentation-from-code-with-team-build.aspx</link><description>Brian Keller replied to an internal email thread discussing generating documentation from code as part of a build. If you are looking to do the same, these links should be helpful. Here's what Brian wrote. I just wanted to point out that there are several</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Generating documentation from code with Team Build</title><link>http://blogs.msdn.com/b/buckh/archive/2007/02/03/generating-documentation-from-code-with-team-build.aspx#10014570</link><pubDate>Tue, 25 May 2010 10:57:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10014570</guid><dc:creator>d</dc:creator><description>&lt;p&gt;f&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10014570" width="1" height="1"&gt;</description></item><item><title>re: Generating documentation from code with Team Build</title><link>http://blogs.msdn.com/b/buckh/archive/2007/02/03/generating-documentation-from-code-with-team-build.aspx#1621020</link><pubDate>Wed, 07 Feb 2007 21:30:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1621020</guid><dc:creator>Tim Dallmann</dc:creator><description>&lt;p&gt;I currently have doc generation running as part of my nightly build. &amp;nbsp;I looked at all the MSBuild scripts people had created, but none seemed simple enough to implement and maintain (especially since I'm a consultant at a client, and I won't be around forever!) &lt;/p&gt;
&lt;p&gt;The solution I came up with works really well however. &amp;nbsp;It's based around the Sandcastle Help File Builder tool at &lt;a rel="nofollow" target="_new" href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=SHFB"&gt;http://www.codeplex.com/Wiki/View.aspx?ProjectName=SHFB&lt;/a&gt;. &amp;nbsp;The GUI is used on the client against the helper's configuration file, which is housed in the VS.Net solution, so developers can always maintain how docs are produced. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;To generate the docs from the build, all I do is add the following targets:&lt;/p&gt;
&lt;p&gt;&amp;lt;Target Name=&amp;quot;PackageBinaries&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;!-- Build source code docs --&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Exec Command=&amp;quot;&amp;amp;quot;C:\Program Files\EWSoftware\Sandcastle Help File Builder\SandcastleBuilderConsole.exe&amp;amp;quot; &amp;amp;quot;$(SolutionRoot)\src\MyProjectDocConfig.shfb&amp;amp;quot;&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/Target&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Target Name=&amp;quot;AfterDropBuild&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;!-- delete old source code docs --&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;CreateItem Include=&amp;quot;\\DocServer\Code Documentation\ProjectName\**\*.*&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Output TaskParameter=&amp;quot;Include&amp;quot; ItemName=&amp;quot;DocDeployFiles&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/CreateItem&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Delete Files=&amp;quot;@(DocDeployFiles)&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;!-- copy new source code docs --&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;CreateItem Include=&amp;quot;$(SolutionRoot)\src\Help\**\*.*&amp;quot; Exclude=&amp;quot;$(SolutionRoot)\src\Help\Working\**\*.*&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Output TaskParameter=&amp;quot;Include&amp;quot; ItemName=&amp;quot;NewDocFiles&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/CreateItem&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Copy SourceFiles=&amp;quot;@(NewDocFiles)&amp;quot; &lt;/p&gt;
&lt;p&gt;DestinationFolder=&amp;quot;\\DocServer\Code Documentation\ProjectName\%(NewDocFiles.RecursiveDir)&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/Target&amp;gt;&lt;/p&gt;
&lt;p&gt;This creates the docs based on the config maintained in the solution, and then copies them to a doc server, where I can access them through our team project portal. &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1621020" width="1" height="1"&gt;</description></item><item><title>re: Generating documentation from code with Team Build</title><link>http://blogs.msdn.com/b/buckh/archive/2007/02/03/generating-documentation-from-code-with-team-build.aspx#1617977</link><pubDate>Wed, 07 Feb 2007 12:15:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1617977</guid><dc:creator>Anders Ljusberg</dc:creator><description>&lt;p&gt;Hi, I'm the author of the CodePlex-project you mention.&lt;/p&gt;
&lt;p&gt;I've been thinking about this for quite some time now but just haven't gotten around to looking at it yet. If there is enough interest I'd be happy to have a look at it!&lt;/p&gt;
&lt;p&gt;Vote on the issue here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.codeplex.com/MSBuildSandcastle/WorkItem/View.aspx?WorkItemId=8045"&gt;http://www.codeplex.com/MSBuildSandcastle/WorkItem/View.aspx?WorkItemId=8045&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Anders Ljusberg&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1617977" width="1" height="1"&gt;</description></item><item><title>VSTS Links - 02/06/2007</title><link>http://blogs.msdn.com/b/buckh/archive/2007/02/03/generating-documentation-from-code-with-team-build.aspx#1612040</link><pubDate>Tue, 06 Feb 2007 17:20:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1612040</guid><dc:creator>Team System News</dc:creator><description>&lt;p&gt;Brian Harry on Daylight Savings Time Changes Coming and Our First Orcas perf results at load. Scott...&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1612040" width="1" height="1"&gt;</description></item><item><title>Generating documentation from code with Team Build</title><link>http://blogs.msdn.com/b/buckh/archive/2007/02/03/generating-documentation-from-code-with-team-build.aspx#1592047</link><pubDate>Sat, 03 Feb 2007 22:22:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1592047</guid><dc:creator>Mighell's blog</dc:creator><description>&lt;p&gt;Molto interessante: Brian Keller replied to an internal email thread discussing generating documentation&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1592047" width="1" height="1"&gt;</description></item></channel></rss>