<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com - Stories tagged with MSBuild</title>
    <description>the latest stories tagged with 'MSBuild' from DotNetKicks.com</description>
    <link>http://www.dotnetkicks.com/</link>
    <language>en-us</language>
    <copyright>Atweb Publishing Ltd.</copyright>
    <docs>http://backend.userland.com/rss</docs>
    <generator>DotNetKicks.com - .NET links, community driven</generator>
    <ttl>30</ttl>
    <item>
      <title>Deploy, test and pack your code - Part 2 Using MsBuild</title>
      <description>In part one of this packing series I have shown, how you can automate your build process, test and optionally mock by using the popular .net deployment tool NAnt. If you don't know what I am talking about and just landed here by help of search engine. Let me put the link below again.

http://weblogs.asp.net/mehfuzh/archive/2008/08/30/deploy-test-and-pack-your-code-part-1-using-nant.aspx

In this post, I will do a replay to mostly what I have talked in my last post but with MsBuild.
 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2fmehfuzh%2farchive%2f2008%2f09%2f07%2fdeploy-test-and-pack-your-code-part-2-using-msbuild.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2fmehfuzh%2farchive%2f2008%2f09%2f07%2fdeploy-test-and-pack-your-code-part-2-using-msbuild.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Deploy_test_and_pack_your_code_Part_2_Using_MsBuild</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Deploy_test_and_pack_your_code_Part_2_Using_MsBuild</guid>
      <pubDate>Sun, 07 Sep 2008 02:52:27 GMT</pubDate>
    </item>
    <item>
      <title>Bundle SQL script with build process using MSBuild</title>
      <description>We are making a sample application , demo or startup kit or a toolkit with test project that requires some sql script. We generally ship in a readme.txt that says it all. But hey, how about having the script under automated process , like if my sql server and VS 2008 is in place, with the click of Ctrl + Shift + B everything gets ready. Here, we will do just right that.

... &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2fmehfuzh%2farchive%2f2008%2f08%2f15%2fbundle-sql-script-with-build-process-using-msbuild.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2fmehfuzh%2farchive%2f2008%2f08%2f15%2fbundle-sql-script-with-build-process-using-msbuild.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Bundle_SQL_script_with_build_process_using_MSBuild</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Bundle_SQL_script_with_build_process_using_MSBuild</guid>
      <pubDate>Fri, 15 Aug 2008 03:37:54 GMT</pubDate>
    </item>
    <item>
      <title>Hack: Parallel MSBuilds from within the Visual Studio IDE</title>
      <description>Scott Hanselman shows a trick how to configure Visual Studio to parallel compile on a multi-core machine straight from the IDE. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.hanselman.com%2fblog%2fHackParallelMSBuildsFromWithinTheVisualStudioIDE.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.hanselman.com%2fblog%2fHackParallelMSBuildsFromWithinTheVisualStudioIDE.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/visualstudio/Hack_Parallel_MSBuilds_from_within_the_Visual_Studio_IDE</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/visualstudio/Hack_Parallel_MSBuilds_from_within_the_Visual_Studio_IDE</guid>
      <pubDate>Sat, 26 Apr 2008 17:33:29 GMT</pubDate>
    </item>
    <item>
      <title>Faster Builds with MSBuild using Parallel Builds and MultiCore CPU</title>
      <description>Title says enough or you're just dead from the neck up if you're not interested... &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.hanselman.com%2fblog%2fFasterBuildsWithMSBuildUsingParallelBuildsAndMulticoreCPUs.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.hanselman.com%2fblog%2fFasterBuildsWithMSBuildUsingParallelBuildsAndMulticoreCPUs.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/architecture/Faster_Builds_with_MSBuild_using_Parallel_Builds_and_MultiCore_CPU</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/architecture/Faster_Builds_with_MSBuild_using_Parallel_Builds_and_MultiCore_CPU</guid>
      <pubDate>Fri, 25 Apr 2008 19:46:02 GMT</pubDate>
    </item>
    <item>
      <title>MSBuild Community Tasks Project</title>
      <description>The MSBuild Community Tasks Project is an open source project for MSBuild tasks. The goal of the project is to provide a collection of open source tasks for MSBuild.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmsbuildtasks.tigris.org%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmsbuildtasks.tigris.org%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/teamsystem/MSBuild_Community_Tasks_Project</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/teamsystem/MSBuild_Community_Tasks_Project</guid>
      <pubDate>Thu, 24 Apr 2008 15:32:28 GMT</pubDate>
    </item>
    <item>
      <title>Compiling VS and generating project version based on SVN revision.</title>
      <description>Solution for dynamic and automatic AsseblyInfo generation with version number based on SVN revision. It is using just csproj file.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2frod.blogsome.com%2f2008%2f02%2f21%2fcompiling-solution-in-visual-studio-with-generating-project-version-based-on-svn-revision%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2frod.blogsome.com%2f2008%2f02%2f21%2fcompiling-solution-in-visual-studio-with-generating-project-version-based-on-svn-revision%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/visualstudio/Compiling_VS_and_generating_project_version_based_on_SVN_revision</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/visualstudio/Compiling_VS_and_generating_project_version_based_on_SVN_revision</guid>
      <pubDate>Wed, 05 Mar 2008 20:31:02 GMT</pubDate>
    </item>
    <item>
      <title>Extending MSBuild</title>
      <description>&amp;quot;Visual Studio project files, i.e. .csproj and .vbproj files, _ARE_ MSBuild scripts. When Visual Studio 2005 builds a project it actually calls MSBuild.exe and passes it the project file.&amp;quot; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.simple-talk.com%2fdotnet%2f.net-tools%2fextending-msbuild%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.simple-talk.com%2fdotnet%2f.net-tools%2fextending-msbuild%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/Extending_MSBuild</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/Extending_MSBuild</guid>
      <pubDate>Fri, 07 Dec 2007 23:07:59 GMT</pubDate>
    </item>
    <item>
      <title>Versioning Builds With TFS &amp;amp; MSBuild</title>
      <description>How to automatically use the TFS changeset number for the revision number part of a version string. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2frichardsbraindump.blogspot.com%2f2007%2f07%2fversioning-builds-with-tfs-and-msbuild.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2frichardsbraindump.blogspot.com%2f2007%2f07%2fversioning-builds-with-tfs-and-msbuild.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/teamsystem/Versioning_Builds_With_TFS_MSBuild</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/teamsystem/Versioning_Builds_With_TFS_MSBuild</guid>
      <pubDate>Wed, 19 Sep 2007 21:44:27 GMT</pubDate>
    </item>
    <item>
      <title>Dot Net Project: Kill specific tasks from MsBuild</title>
      <description>This is an example that presents the way - how to kill the processes in MSBUILD script.
It's very useful when you need to shutdown some application or services &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdotnetproject.blogspot.com%2f2007%2f07%2fkill-specific-tasks-from-msbuild.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdotnetproject.blogspot.com%2f2007%2f07%2fkill-specific-tasks-from-msbuild.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/Dot_Net_Project_Kill_specific_tasks_from_MsBuild</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/Dot_Net_Project_Kill_specific_tasks_from_MsBuild</guid>
      <pubDate>Mon, 02 Jul 2007 14:42:19 GMT</pubDate>
    </item>
    <item>
      <title>SubSonic and Automation with MSBuild</title>
      <description>Learn how to generate your data access layer automatically using MSBuild and SubSonic together with this short video demonstration. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fbrennan.offwhite.net%2fblog%2f2007%2f06%2f10%2fsubsonic-and-automation-with-msbuild%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fbrennan.offwhite.net%2fblog%2f2007%2f06%2f10%2fsubsonic-and-automation-with-msbuild%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/tipsandtricks/SubSonic_and_Automation_with_MSBuild</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/tipsandtricks/SubSonic_and_Automation_with_MSBuild</guid>
      <pubDate>Thu, 21 Jun 2007 13:01:01 GMT</pubDate>
    </item>
    <item>
      <title>Deploying config files to multiple environments - dev, stage, prod</title>
      <description>A common problem most application developers face at one time or another is managing the deployment of the environment specific configuration elements their application depends on.  Most often these elements include items like connection strings, file paths or other settings the application requires access to during runtime.  I recently tackled this problem and came up with a solution that seems to work pretty well (we have been using it for the past 4 months without any issues) and fits in great with our automated build enviornment.   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmattberseth.com%2fblog%2f2007%2f05%2fsingle_config_file_multiple_de.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmattberseth.com%2fblog%2f2007%2f05%2fsingle_config_file_multiple_de.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/Deploying_config_files_to_multiple_environments_dev_stage_prod</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/Deploying_config_files_to_multiple_environments_dev_stage_prod</guid>
      <pubDate>Tue, 22 May 2007 23:52:49 GMT</pubDate>
    </item>
    <item>
      <title>7 Steps to MSBuild</title>
      <description>Brennan put together a series covering MSBuild. He's used it to automate many .NET projects over the past year and has picked up a few good techniques which really cut down on all of the work to build, test, package and deploy a project. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fbrennan.offwhite.net%2fblog%2f2006%2f11%2f30%2f7-steps-to-msbuild%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fbrennan.offwhite.net%2fblog%2f2006%2f11%2f30%2f7-steps-to-msbuild%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/7_Steps_to_MSBuild</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/7_Steps_to_MSBuild</guid>
      <pubDate>Wed, 02 May 2007 15:16:02 GMT</pubDate>
    </item>
    <item>
      <title>Post Build Deployments with MSBuild</title>
      <description>MSBuild is a powerful tool for automation but as the name implies, it is a tool primarily for compiling code. Beyond the initial build MSBuild can also be used in preparation for deployments. To assist with the deployment of websites Microsoft produced Web Deployment Projects which carry out a series of tasks to build a website with the option to replace configuration sections which is a very useful feature. Once I have compiled a project I have multiple deployment targets so I wanted to just reconfigure a project in preparation for a deployment and I found a good way get this done outside of a web deployment project. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fbrennan.offwhite.net%2fblog%2f2007%2f04%2f26%2fpost-build-deployments-with-msbuild%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fbrennan.offwhite.net%2fblog%2f2007%2f04%2f26%2fpost-build-deployments-with-msbuild%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/Post_Build_Deployments_with_MSBuild</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/Post_Build_Deployments_with_MSBuild</guid>
      <pubDate>Thu, 03 May 2007 01:46:01 GMT</pubDate>
    </item>
    <item>
      <title>Tool and MSBuild Target to generate stats of source</title>
      <description>A tool that will generate some stats on the source code. It gets the following information:

    * Total Number of Files
    * Total Number of Commented Lines
    * Total Number of Single Line Comments
    * Total Number of Multi-Line Comments
    * Total Number of Empty Lines
    * Total Number of Source Code Lines
    * Total Number of Lines

Includes an MSBuild targets file to automate the process. The target will update the config file before executing the tool. It will process files based on RegEx patterns defined in the config/build script. It includes a processor that will process files in an archive as well. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fccnetconfig.org%2f2006%2f11%2f15%2fMSBuildTargetToGenerateStatsOfSourceCode.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fccnetconfig.org%2f2006%2f11%2f15%2fMSBuildTargetToGenerateStatsOfSourceCode.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Tool_and_MSBuild_Target_to_generate_stats_of_source</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Tool_and_MSBuild_Target_to_generate_stats_of_source</guid>
      <pubDate>Fri, 05 Jan 2007 13:01:04 GMT</pubDate>
    </item>
    <item>
      <title>MSBuild By Example</title>
      <description>Learn to use the new MSBuild-Microsoft Build Engine-instead of NAnt to build .NET applications. Excerpt: Even if you have experience using an XML task-based build tool, such as Ant or NAnt, MSBuild is significantly different. In fact, MSBuild is different not only in execution but also in syntax. Therefore, to really get a feel for MSBuild, you must get your hands dirty using the tool. As you begin to explore what MSBuild has to offer to your projects, you will naturally seek more knowledge of MSBuild. This chapter will help you get your hands dirty by showing you several examples of how you can use MSBuild. Also, this chapter will present some important techniques for using MSBuild effectively. We will provide a variety of tips, covering topics such as integrating MSBuild into Visual Studio and formatting your output. These samples are set up to be mostly independent. This is because each sample expresses a set of specific ideas, so you will be able to examine and try each concept on its own. After this chapter, you should have a much greater feel for building your applications with MSBuild. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fen.csharp-online.net%2fMSBuild%3a_By_Example"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fen.csharp-online.net%2fMSBuild%3a_By_Example" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/visualstudio/MSBuild_By_Example</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/visualstudio/MSBuild_By_Example</guid>
      <pubDate>Mon, 06 Nov 2006 11:31:02 GMT</pubDate>
    </item>
    <item>
      <title>Links to MSBuild tasks to extend your build system</title>
      <description>A list of projects providing MSBuild tasks. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2fbuckh%2farchive%2f2006%2f08%2f16%2fmsbuild_tasks.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2fbuckh%2farchive%2f2006%2f08%2f16%2fmsbuild_tasks.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/Links_to_MSBuild_tasks_to_extend_your_build_system</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/Links_to_MSBuild_tasks_to_extend_your_build_system</guid>
      <pubDate>Mon, 21 Aug 2006 04:01:01 GMT</pubDate>
    </item>
    <item>
      <title>MSBuild in Visual Studio</title>
      <description>A summary a series of posts on the MSBuild Team Blog regarding MSBuild and Visual Studio integration &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.developerzen.com%2f2006%2f01%2f07%2fMSBuildInVisualStudio.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.developerzen.com%2f2006%2f01%2f07%2fMSBuildInVisualStudio.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/MSBuild_in_Visual_Studio</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/MSBuild_in_Visual_Studio</guid>
      <pubDate>Mon, 24 Jul 2006 11:31:01 GMT</pubDate>
    </item>
    <item>
      <title>Custom MSBuild task for running sql scripts</title>
      <description>joeyDotNet has created a custom MSBuild task to run any number of sql scripts in a directory &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdevauthority.com%2fblogs%2fjoeydotnet%2farchive%2f2006%2f05%2f23%2f1117.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdevauthority.com%2fblogs%2fjoeydotnet%2farchive%2f2006%2f05%2f23%2f1117.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/Custom_MSBuild_task_for_running_sql_scripts</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/Custom_MSBuild_task_for_running_sql_scripts</guid>
      <pubDate>Tue, 30 May 2006 00:01:01 GMT</pubDate>
    </item>
  </channel>
</rss>