<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>Automated Build using MSBuild for ClickOnce Application Hosted on CodePlex</title><link>http://code.msdn.microsoft.com/CodePlexBuidAutomate/Project/ProjectRss.aspx</link><description>A guide to automate the build using MSBuild for a ClickOnce application hosted on CodePlex.</description><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/CodePlexBuidAutomate/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Build Automation&lt;/b&gt;&lt;br /&gt;A guide to automate the build using MSBuild for a ClickOnce application hosted on CodePlex.
&lt;br /&gt; &lt;br /&gt;This is what I wanted my automated build to do:&lt;br /&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Get the latest version from CodePlex &lt;/li&gt;&lt;li&gt;Update the version number in AssemblyInfo.cs &lt;/li&gt;&lt;li&gt;Build the project &lt;/li&gt;&lt;li&gt;Check-in the updated AssemblyInfo.cs &lt;/li&gt;&lt;li&gt;Label the project with the version number &lt;/li&gt;&lt;li&gt;Publish the ClickOnce package to my webserver &lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;In order to achieve this I used the CodePlex Source Control Client (cpc.exe) to perform the get latest and check-ins. I was not able to achieve #5 as the cpc client does not provide labelling. Maybe once the SvnBridge supports it I can upgrade this guide to use a SubVersion client.&lt;br /&gt; &lt;br /&gt;I also wrote a command line utility SetVersion.exe utility that updates the version number on an AsssemblyInfo.cs or .vb file. The source for this is published as SetVersion &lt;a href="http://code.msdn.microsoft.com/setversion" class="externalLink"&gt;http://code.msdn.microsoft.com/setversion&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; on the MSDN Code Gallery.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;b&gt;Author: Merill Fernando&lt;/b&gt; &lt;a href="http://www.merill.net" class="externalLink"&gt;http://www.merill.net&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; See this post for more details &lt;a href="http://www.merill.net/post/2008/10/Automate-Build-for-a-ClickOnce-Application-Hosted-on-CodePlex-using-MSBuild.aspx" class="externalLink"&gt;http://www.merill.net/post/2008/10/Automate-Build-for-a-ClickOnce-Application-Hosted-on-CodePlex-using-MSBuild.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>merill</author><pubDate>Wed, 22 Oct 2008 00:53:44 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20081022A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/CodePlexBuidAutomate/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Build Automation&lt;/b&gt;&lt;br /&gt;A guide to automate the build using MSBuild for a ClickOnce application hosted on CodePlex.
&lt;br /&gt; &lt;br /&gt;This is what I wanted my automated build to do:&lt;br /&gt; &lt;br /&gt;&lt;ol&gt;
&lt;li&gt;Get the latest version from CodePlex &lt;/li&gt;&lt;li&gt;Update the version number in AssemblyInfo.cs &lt;/li&gt;&lt;li&gt;Build the project &lt;/li&gt;&lt;li&gt;Check-in the updated AssemblyInfo.cs &lt;/li&gt;&lt;li&gt;Label the project with the version number &lt;/li&gt;&lt;li&gt;Publish the ClickOnce package to my webserver &lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;In order to achieve this I used the CodePlex Source Control Client (cpc.exe) to perform the get latest and check-ins. I was not able to achieve #5 as the cpc client does not provide labelling. Maybe once the SvnBridge supports it I can upgrade this guide to use a SubVersion client.&lt;br /&gt; &lt;br /&gt;I also wrote a command line utility SetVersion.exe utility that updates the version number on an AsssemblyInfo.cs or .vb file. The source for this is published as SetVersion &lt;a href="//http://code.msdn.microsoft.com/setversion" class="externalLink"&gt;//http://code.msdn.microsoft.com/setversion&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; on the MSDN Code Gallery.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;b&gt;Author: Merill Fernando&lt;/b&gt; &lt;a href="http://www.merill.net" class="externalLink"&gt;http://www.merill.net&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; See this post for more details &lt;a href="http://www.merill.net/post/2008/10/Automate-Build-for-a-ClickOnce-Application-Hosted-on-CodePlex-using-MSBuild.aspx" class="externalLink"&gt;http://www.merill.net/post/2008/10/Automate-Build-for-a-ClickOnce-Application-Hosted-on-CodePlex-using-MSBuild.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>merill</author><pubDate>Wed, 22 Oct 2008 00:52:49 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20081022A</guid></item><item><title>CREATED RELEASE: Build Automation 1.0 (Oct 22, 2008)</title><link>http://code.msdn.microsoft.com/CodePlexBuidAutomate/Release/ProjectReleases.aspx?ReleaseId=1675</link><description></description><author></author><pubDate>Wed, 22 Oct 2008 00:37:39 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: Build Automation 1.0 (Oct 22, 2008) 20081022A</guid></item><item><title>RELEASED: Build Automation 1.0 (Oct 22, 2008)</title><link>http://code.msdn.microsoft.com/CodePlexBuidAutomate/Release/ProjectReleases.aspx?ReleaseId=1675</link><description></description><author></author><pubDate>Wed, 22 Oct 2008 00:37:39 GMT</pubDate><guid isPermaLink="false">RELEASED: Build Automation 1.0 (Oct 22, 2008) 20081022A</guid></item></channel></rss>