<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>code.commongroove.com &#187; MS Build</title>
	<atom:link href="http://code.commongroove.com/category/ms-build/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.commongroove.com</link>
	<description>C#, T-SQL, and general IT mojo</description>
	<lastBuildDate>Thu, 26 Jan 2012 03:00:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Log the Output from your MSBuild Tasks</title>
		<link>http://code.commongroove.com/2008/06/26/log-the-output-from-your-msbuild-tasks/</link>
		<comments>http://code.commongroove.com/2008/06/26/log-the-output-from-your-msbuild-tasks/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 02:06:16 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[MS Build]]></category>

		<guid isPermaLink="false">http://code.commongroove.com/archive/2008/06/25/log-the-output-from-your-msbuild-tasks.aspx</guid>
		<description><![CDATA[In an automated build process, you always need logs as reference for troubleshooting because the task is scheduled and running under the context of a different user, so you won&#8217;t be able to see console output. If you use MSBuild &#8230; <a href="http://code.commongroove.com/2008/06/26/log-the-output-from-your-msbuild-tasks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In an automated build process, you always need logs as reference for troubleshooting because the task is scheduled and running under the context of a different user, so you won&#8217;t be able to see console output.</p>
<p>If you use MSBuild to run your build tasks, here is how to get it to write to a text file when it runs:</p>
<p><span style="font-family: Courier New;">msbuild mybuildroutines.msbuild /p:Desitination=WebServer /t:DeployAndTestWebServerBuild <span style="font-weight: bold;">/l:FileLogger,Microsoft.Build.Engine;logfile=c:\temp\DeployAndTestWebServerBuild.log</span></span></p>
<p>Thanks to <a href="http://utunga.wordpress.com/" target="_blank">Miles </a>for discovering this incredibly useful feature.</p>
]]></content:encoded>
			<wfw:commentRss>http://code.commongroove.com/2008/06/26/log-the-output-from-your-msbuild-tasks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intellisense for MSBuild files</title>
		<link>http://code.commongroove.com/2007/09/27/enable-intellisense-for-msbuild-files/</link>
		<comments>http://code.commongroove.com/2007/09/27/enable-intellisense-for-msbuild-files/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 00:59:34 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[MS Build]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://code.commongroove.com/archive/2007/09/27/enable-intellisense-for-msbuild-files.aspx</guid>
		<description><![CDATA[To “enable” Intellisense for MSBuild projects ending with the extension “msbuild”: 1)      1) Add this registry key (no line break in the key): [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Editors\ {412B8852-4F21-413B-9B47-0C9751D3EBFB}\Extensions]&#8220;msbuild&#8221;=dword:00000029 2)      Create a file called “test.msbuild” and then try to open it.  Choose “Select program &#8230; <a href="http://code.commongroove.com/2007/09/27/enable-intellisense-for-msbuild-files/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><strong style="">To “enable” Intellisense for MSBuild projects ending with the extension “msbuild”</strong>:</p>
<p style="text-indent: -0.25in;" class="MsoListParagraph"><!--[if !supportLists]--><span style=""><span style="">1)<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">      </span></span></span><!--[endif]-->1) Add this registry key (no line break in the key):</p>
<p class="MsoNormal" style="color: rgb(0, 0, 255); font-family: Courier New;">[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Editors\<br />
{412B8852-4F21-413B-9B47-0C9751D3EBFB}\Extensions]&#8220;msbuild&#8221;=dword:00000029</p>
<p class="MsoNormal"><!--[if !supportLists]--><span style=""><span style="">2)<span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">      </span></span></span><!--[endif]-->Create a file called “test.msbuild” and then try to open it.<span style="">  </span>Choose “Select program from list” and browse to VS2005 devenv.exe and check “Always use the selected”.<span style="">  </span>Click ok.  Once Visual Studio opens, you should have it!<span style="">  </span>(Since the XSD for MSBuild is already “known” by Visual studio.<span style="">  </span>Fyi – the file is located here: </p>
<p class="MsoNormal"><span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New'; color: blue;">\windows\Microsoft.NET\framework\v2.0.50727\Microsoft.Build.xsd<o:p /></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; line-height: 115%;">a</span><span style="font-size: 10pt; line-height: 115%;">nd<o:p /></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New'; color: blue;">\Program Files\Microsoft Visual Studio 8\xml\Schemas\1033<o:p /></span></p>
<p class="MsoNormal">there.</p>
<p>If you don&#8217;t like using the .msbuild extension, you can change it.  Just modify the registry key, changing &#8220;msbuild&#8221; to whatever extension you would like to use.</p>
]]></content:encoded>
			<wfw:commentRss>http://code.commongroove.com/2007/09/27/enable-intellisense-for-msbuild-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

