<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Gautam Goenka (MSFT)</title><subtitle type="html">Developing great products for Testers!</subtitle><id>http://blogs.msdn.com/gautamg/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/gautamg/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2005-08-25T16:01:00Z</updated><entry><title>Continuous Integration with Assembly Version task</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/archive/2006/05/02/continuous-integration-with-assembly-version-task.aspx" /><id>http://blogs.msdn.com/gautamg/archive/2006/05/02/continuous-integration-with-assembly-version-task.aspx</id><published>2006-05-02T07:02:00Z</published><updated>2006-05-02T07:02:00Z</updated><content type="html">&lt;FONT size=2 face=Tahoma&gt;
&lt;P&gt;&lt;FONT size=2 face=Tahoma&gt;Changgyu from&amp;nbsp;Avanade brought this interesting problem to my attention - &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;If you are using &lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/ConIntTmFndBld.asp" mce_href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/ConIntTmFndBld.asp"&gt;Continuous Integration&lt;/A&gt;&amp;nbsp;with &lt;A href="http://blogs.msdn.com/gautamg/archive/2006/01/04/509146.aspx" mce_href="http://blogs.msdn.com/gautamg/archive/2006/01/04/509146.aspx"&gt;Assembly Version&lt;/A&gt; task, build server will go into infinite recursion of builds.&amp;nbsp; Each CI build will update the assembly version and the task will make the checkin, which in turn will ask the CI web service for another build.&lt;/P&gt;
&lt;P&gt;Luckily, Changgyu found a simple and elegant solution for this.&amp;nbsp; The Assembly Version task makes the checkin with a fixed comment string and while subscribing for the checkin event, you can use that info as the filter. To do this, just pass following extra switch to the BisSubscribe command that you are using for subscribing to the event -&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#a52a2a&gt;/filter "(Comment&amp;lt;&amp;gt;'Auto-Build: Version Update')"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#a52a2a&gt;where 'Auto-Build: Version Update' is the fixed comment string.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Special thanks to Changgyu for sharing this.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=588193" width="1" height="1"&gt;</content><author><name>gautamg</name><uri>http://blogs.msdn.com/members/gautamg.aspx</uri></author><category term="Team Build" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Build/default.aspx" /><category term="Team Foundation Server" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Foundation+Server/default.aspx" /></entry><entry><title>Passing custom properties to each individual solutions in Team Build</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/archive/2006/04/20/passing-custom-properties-to-each-individual-solutions-in-team-build.aspx" /><id>http://blogs.msdn.com/gautamg/archive/2006/04/20/passing-custom-properties-to-each-individual-solutions-in-team-build.aspx</id><published>2006-04-20T14:36:00Z</published><updated>2006-04-20T14:36:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Though one of my earlier blogs is titled "&lt;A href="http://blogs.msdn.com/gautamg/archive/2006/04/19/578915.aspx"&gt;Building .NET 1.1 application using Team Build&lt;/A&gt;", the principal used in that blog can easily be generalized to&amp;nbsp;pass any custom property to each solution/project file while building using Team Build.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Say you want to sign each assembly built by a key. One option is to open each project and set the SignAssembly and AssemblyOriginatorKeyFile properties to appropriate value. This is&amp;nbsp;quite a&amp;nbsp;work if there are more than handful of projects. Moreover, this will not work if want the signing to be there only for Team Build and not when developer builds on her desktop.&amp;nbsp; (Or, may be you want to use two different keys.)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;There is another option to do this easily in Team Build - change the AdditionalPropertiesForBuildTarget mentioned in the above blog to the following -&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face=Tahoma color=#a52a2a size=2&gt;&amp;lt;AdditionalPropertiesForBuildTarget&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face=Tahoma color=#a52a2a size=2&gt;SignAssembly=true;AssemblyOriginatorKeyFile=&lt;STRONG&gt;Z:\sign\mykey.snk&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face=Tahoma color=#a52a2a size=2&gt;&amp;lt;/AdditionalPropertiesForBuildTarget&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;This will do the trick!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Gautam&lt;BR&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=579801" width="1" height="1"&gt;</content><author><name>gautamg</name><uri>http://blogs.msdn.com/members/gautamg.aspx</uri></author><category term="Team Build" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Build/default.aspx" /><category term="Team Foundation Server" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Foundation+Server/default.aspx" /></entry><entry><title>Writing a custom MSBuild Logger for Team Build</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/archive/2006/04/19/writing-a-custom-msbuild-logger-for-team-build.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="11065" href="http://blogs.msdn.com/gautamg/attachment/578967.ashx" /><id>http://blogs.msdn.com/gautamg/archive/2006/04/19/writing-a-custom-msbuild-logger-for-team-build.aspx</id><published>2006-04-19T16:13:00Z</published><updated>2006-04-19T16:13:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;While building using Team Build, the build process creates one log file (for&amp;nbsp;compilation and code analysis errors and warnings)&amp;nbsp;per platform-flavor &lt;U&gt;for all solutions&lt;/U&gt;.&amp;nbsp; However, few weeks back, while&amp;nbsp;talking to a customer about Team Build, a&amp;nbsp;new requirement came up. The customer wanted to have one log file per platform-flavor &lt;U&gt;per solution&lt;/U&gt;.&amp;nbsp;In his scenario, they had not ran code analysis before and turning that on was resulting in lots of errors/warnings all across the team project.&amp;nbsp; He wanted to separate the warnings out into different log files per solution as the owners were different.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma&gt;&lt;FONT size=2&gt;He asked me&amp;nbsp;if this could be done. Well yes, anything for the customer!!!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;&lt;STRONG&gt;Attached&lt;/STRONG&gt; is the code for custom MSBuild logger that -&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face=Tahoma size=2&gt;L&lt;/FONT&gt;&lt;FONT face=Tahoma&gt;&lt;FONT size=2&gt;istens to build error and warning events and creates one log file per solution per platform-flavor.&amp;nbsp;This is different from the standard Team Build logger, which creates&amp;nbsp;one log per platform-flavor for all solutions.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Tahoma&gt;&lt;FONT size=2&gt;Each log file contains all the compilation and code analysis&amp;nbsp;errors/warnings in that solution.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Tahoma&gt;&lt;FONT size=2&gt;The log files created are copied to the drop location along with the&amp;nbsp;other log files created by standard Team Build logger.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;FONT face=Tahoma&gt;&lt;FONT size=2&gt;
&lt;P&gt;Using this logger is easy -&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Build the attached&amp;nbsp;project and checkin the CustomTeamBuildLogger.dll to&amp;nbsp;the build type folder i.e. same location as the TFSBuild.proj.&lt;/LI&gt;
&lt;LI&gt;Modify and add following to the TFSBuild.rsp file:&lt;BR&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" color=#a52a2a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /logger:Microsoft.TeamFoundation.Build.Samples.CustomTeamBuildLogger,CustomTeamBuildLogger.dll&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;This is just one example of ease with which one can extend MSBuild and Team Build.&amp;nbsp; If you are interested in writing custom logger, you will find following posts useful -&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/msbuild/archive/2005/10/10/479223.aspx"&gt;http://blogs.msdn.com/msbuild/archive/2005/10/10/479223.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/msbuild/archive/2005/11/22/495322.aspx"&gt;http://blogs.msdn.com/msbuild/archive/2005/11/22/495322.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/chaitanyacheruvu/archive/2005/09/13/464611.aspx"&gt;http://blogs.msdn.com/chaitanyacheruvu/archive/2005/09/13/464611.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=578967" width="1" height="1"&gt;</content><author><name>gautamg</name><uri>http://blogs.msdn.com/members/gautamg.aspx</uri></author><category term="Team Build" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Build/default.aspx" /><category term="Team Foundation Server" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Foundation+Server/default.aspx" /></entry><entry><title>Building .NET 1.1 application using Team Build</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/archive/2006/04/19/building-net-1-1-application-using-team-build.aspx" /><link rel="enclosure" type="application/octet-stream" length="5738" href="http://blogs.msdn.com/gautamg/attachment/578915.ashx" /><id>http://blogs.msdn.com/gautamg/archive/2006/04/19/building-net-1-1-application-using-team-build.aspx</id><published>2006-04-19T13:47:00Z</published><updated>2006-04-19T13:47:00Z</updated><content type="html">&lt;P&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" face=Tahoma color=#000000 size=2&gt;One of the FAQs in Team Foundation forums have been on "how to build .NET 1.1 application using Team Build".&amp;nbsp; &amp;nbsp;My colleague &lt;A href="http://blogs.msdn.com/nagarajp"&gt;Nagaraju&lt;/A&gt; put up &lt;A href="http://blogs.msdn.com/nagarajp/archive/2005/10/26/485368.aspx"&gt;this&lt;/A&gt; blog to give out detailed steps for this.&amp;nbsp;Apart from this, there were various other solutions on how to build .NET 1.1 using MSBuild (and hence in turn by Team Build)&amp;nbsp;from different folks like &lt;A href="http://blogs.msdn.com/jomo_fisher/archive/2004/10/01/236879.aspx"&gt;one&lt;/A&gt; by &lt;A href="http://blogs.msdn.com/jomo_fisher"&gt;Jomo&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;All this solutions were essentially a hack... they &lt;EM&gt;&lt;U&gt;mostly&lt;/U&gt;&lt;/EM&gt; worked but lacked elegance.&amp;nbsp; The developers wanted better solution.&amp;nbsp; Considering the increasing demand for better support for building .NET 1.1 using MSBuild, the&amp;nbsp;&lt;A href="http://blogs.msdn.com/msbuild"&gt;MSBuild&lt;/A&gt; team came up with project called &lt;A href="http://blogs.msdn.com/msbuild/archive/2006/03/25/560471.aspx"&gt;MSBee&lt;/A&gt; or MSBuild Everett (code name for&amp;nbsp;VS 2003)&amp;nbsp;Environment.&amp;nbsp; The Beta 2 of MSBee is available &lt;A href="http://www.gotdotnet.com/codegallery/codegallery.aspx?id=22a73581-57c1-4874-a7d5-c9138c8c1f4b"&gt;here&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;The MSBee could be used with Team Build also.&amp;nbsp; To do so, you need to do the following -&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face=Tahoma size=2&gt;Install MSBee and other required components on the Build Machine. (Refer MSBee ReadMe)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Tahoma size=2&gt;Upgrade&amp;nbsp;the solutions that you want to build to Visual Studio 2005 format using the &lt;A href="http://msdn2.microsoft.com/en-us/library/ms185327(VS.80).aspx"&gt;wizard&lt;/A&gt; or the &lt;A href="http://msdn2.microsoft.com/en-us/library/w15a82ay(VS.80).aspx"&gt;/upgrade&lt;/A&gt; command line&amp;nbsp;switch.&amp;nbsp; (If you want to still use VS 2003, you can backup the solutions and upgrade.)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Tahoma size=2&gt;Modify the TFSBuild.proj file as mentioned below.&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;The modification required in TFSBuild.proj are -&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Tahoma size=2&gt;a) Download and checkin the attached &lt;STRONG&gt;BuildingFx11inTB.targets&lt;/STRONG&gt; alongside TFSBuild.proj. (I am trying attachment to a blog for the first time... hopefully it will work!)&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Tahoma size=2&gt;b) Add an import statement to TFSBuild.proj file after import of Microsoft.TeamFoundation.Build.targets file.&amp;nbsp; The import statement would look like -&lt;/FONT&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&lt;FONT color=#800000 size=2&gt;Import&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;Project&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;$(MSBuildProjectDirectory)\BuildingFx11inTB.targets&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt; /&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P dir=ltr&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Tahoma size=2&gt;c) Add following property to point to the 1.1 targets file -&lt;/FONT&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" color=#800000 size=2&gt;PropertyGroup&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&amp;gt;&lt;/FONT&gt; &lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&lt;FONT color=#800000 size=2&gt;AdditionalPropertiesForBuildTarget&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT size=2&gt;CustomAfterMicrosoftCommonTargets=$(ProgramFiles)\MSBuild\MSBee\MSBuildExtras.Fx1_1.CSharp.targets&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;/&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;AdditionalPropertiesForBuildTarget&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&amp;gt;&lt;/FONT&gt; &lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3"&gt;&lt;FONT color=#800000 size=2&gt;PropertyGroup&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Tahoma size=2&gt;And thats all.&amp;nbsp;The steps a) and b) are required because the current version of the targets file did not provide easy way to pass additional properties while compiling individual project files. We are considering fixing this for next release to simplify this.&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Tahoma size=2&gt;Note that the above solutions assume that all your projects are in C#. Instead, if all the projects are in VB, change the &lt;EM&gt;MSBuildExtras.Fx1_1.&lt;STRONG&gt;CSharp&lt;/STRONG&gt;.targets&lt;/EM&gt; in the property defination above to &lt;EM&gt;MSBuildExtras.Fx1_1.&lt;STRONG&gt;VisualBasic&lt;/STRONG&gt;.targets&lt;/EM&gt;. In case you have mix of C# and VB, use the workaround suggested in section 4.2.2 of&amp;nbsp;"MSBee ReadMe.doc"&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT face=Tahoma size=2&gt;Thanks!&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=578915" width="1" height="1"&gt;</content><author><name>gautamg</name><uri>http://blogs.msdn.com/members/gautamg.aspx</uri></author><category term="Team Build" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Build/default.aspx" /><category term="Team Foundation Server" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Foundation+Server/default.aspx" /></entry><entry><title>Using AssemblyInfo task with Team Build</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/archive/2006/01/04/using-assemblyinfo-task-with-team-build.aspx" /><id>http://blogs.msdn.com/gautamg/archive/2006/01/04/using-assemblyinfo-task-with-team-build.aspx</id><published>2006-01-04T14:04:00Z</published><updated>2006-01-04T14:04:00Z</updated><content type="html">&lt;P&gt;&lt;U&gt;Fixed a bug in the snippet as pointed out by Peter from Microsoft Consulting Service. I was earlier using ItemGroup to get all AssemblyInfoFiles which&amp;nbsp;gets executed before any target (and hence before Get task). So, the items in AssemblyInfoFiles may be outdated. The right approach is to use CreateItem task inside AfterGet target.&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Neil Enns of &lt;A href="http://blogs.msdn.com/msbuild/"&gt;MSBuild&lt;/A&gt; team has put&amp;nbsp;up a task to automatically update assembly info (like assembly version) of&amp;nbsp;Visual Studio projects as part build process &lt;A href="http://www.gotdotnet.com/codegallery/codegallery.aspx?id=93d23e13-c653-4815-9e79-16107919f93e"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The task can easily be extended to work with Team Build. T&lt;SPAN&gt;he sample TFSBuild.proj file that works is below.&amp;nbsp; The changes made by me are &lt;U&gt;underlined&lt;/U&gt;.&lt;/P&gt;
&lt;P&gt;Note -&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The import statement should come second. 
&lt;LI&gt;I installed AssemblyInfoTask in GAC.&amp;nbsp; If you have installed it in Application Data folder, you will need to change the import statement accordingly. 
&lt;LI&gt;This assumes that you are changing all AssemblyInfo.cs files to same version.&amp;nbsp; If that is not the case, have multiple AssemblyInfoSpec property and repeat the tasks for each property.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Gautam&lt;/P&gt;&lt;PRE&gt;&lt;FONT color=#0000ff&gt;&amp;lt;?&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;xml&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt; &lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;version&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"1.0"&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt; &lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;encoding&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"utf-8"&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;?&amp;gt;&lt;/FONT&gt;
&lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Project&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;DefaultTargets&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"DesktopBuild"&lt;/FONT&gt;
&lt;FONT color=#2e8b57&gt;&lt;B&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;      xmlns&lt;/B&gt;&lt;/FONT&gt;=&lt;U&gt;&lt;FONT color=#0000ff&gt;"&lt;/FONT&gt;&lt;/U&gt;&lt;A href='http://schemas.microsoft.com/developer/msbuild/2003"'&gt;http://schemas.microsoft.com/developer/msbuild/2003"&lt;/A&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- TO EDIT BUILD TYPE DEFINITION&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;  To edit the build type, you will need to edit this file which was generated&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;  by the Create New Build Type wizard.  This file is under source control and&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;  needs to be checked out before making any changes.&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;  The file is available at -&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;      $/{TeamProjectName}/TeamBuildTypes/{BuildTypeName}&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;  where you will need to replace TeamProjectName and BuildTypeName with your&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;  Team Project and Build Type name that you created&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;  Checkout the file&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    1. Open Source Control Explorer by selecting View -&amp;gt; Other Windows -&amp;gt; Source Control Explorer&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    2. Ensure that your current workspace has a mapping for the $/{TeamProjectName}/TeamBuildTypes folder and &lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;       that you have done a "Get Latest Version" on that folder&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    3. Browse through the folders to {TeamProjectName}-&amp;gt;TeamBuildTypes-&amp;gt;{BuildTypeName} folder&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    4. From the list of files available in this folder, right click on TfsBuild.Proj. Select 'Check Out For Edit...'&lt;/FONT&gt;


&lt;FONT color=#0000ff&gt;  Make the required changes to the file and save&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;  Checkin the file&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    1. Right click on the TfsBuild.Proj file selected in Step 3 above and select 'Checkin Pending Changes'&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    2. Use the pending checkin dialog to save your changes to the source control&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;  Once the file is checked in with the modifications, all future builds using&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;  this build type will use the modified settings&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;  --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- Do not edit this --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Import&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Project&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets"&lt;/FONT&gt;&lt;FONT color=#008080&gt; /&amp;gt;&lt;/FONT&gt;
&lt;SPAN style="BACKGROUND-COLOR: #ffff66"&gt;&lt;U&gt;  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Import&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Project&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"$(MSBuildExtensionsPath)\Microsoft\AssemblyInfoTask\Microsoft.VersionNumber.Targets"&lt;/FONT&gt;&lt;FONT color=#008080&gt;/&amp;gt;&lt;/FONT&gt;
&lt;/U&gt;&lt;/SPAN&gt;  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;ProjectExtensions&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  DESCRIPTION&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     The description is associated with a build type. Edit the value for making changes.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Description&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;/Description&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  BUILD MACHINE&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     Name of the machine which will be used to build the solutions selected.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;BuildMachine&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;gautamg-lt&lt;FONT color=#008080&gt;&amp;lt;/BuildMachine&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;/ProjectExtensions&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;PropertyGroup&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  TEAM PROJECT&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     The team project which will be built using this build type.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;TeamProject&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;GautamG0102&lt;FONT color=#008080&gt;&amp;lt;/TeamProject&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  BUILD DIRECTORY&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     The directory on the build machine that will be used to build the&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     selected solutions. The directory must be a local path on the build&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     machine (e.g. c:\build).&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;BuildDirectoryPath&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;D:\BuildLocation&lt;FONT color=#008080&gt;&amp;lt;/BuildDirectoryPath&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  DROP LOCATION&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;      The location to drop (copy) the built binaries and the log files after&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     the build is complete. This location has to be a valid UNC path of the&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     form \\Server\Share. The build machine service account and application&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     tier account need to have read write permission on this share.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;DropLocation&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;\\gautamg-lt\drops&lt;FONT color=#008080&gt;&amp;lt;/DropLocation&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  TESTING&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     Set this flag to enable/disable running tests as a post build step.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;RunTest&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;false&lt;FONT color=#008080&gt;&amp;lt;/RunTest&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  WorkItemFieldValues&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;      Add/edit key value pairs to set values for fields in the work item created&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;      during the build process. Please make sure the field names are valid &lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;      for the work item type being used.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;WorkItemFieldValues&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;Symptom=build break;Steps To Reproduce=Start the build using Team Build&lt;FONT color=#008080&gt;&amp;lt;/WorkItemFieldValues&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  CODE ANALYSIS&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;       To change CodeAnalysis behavior edit this value. Valid values for this&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;       can be Default,Always or Never.&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;     Default - To perform code analysis as per the individual project settings&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     Always  - To always perform code analysis irrespective of project settings&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     Never   - To never perform code analysis irrespective of project settings&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;RunCodeAnalysis&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;Never&lt;FONT color=#008080&gt;&amp;lt;/RunCodeAnalysis&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  UPDATE ASSOCIATED WORK ITEMS&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     Set this flag to enable/disable updating associated workitems on a successful build&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;UpdateAssociatedWorkItems&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;true&lt;FONT color=#008080&gt;&amp;lt;/UpdateAssociatedWorkItems&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- Title for the work item created on build failure --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;WorkItemTitle&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;Build failure in build:&lt;FONT color=#008080&gt;&amp;lt;/WorkItemTitle&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- Description for the work item created on build failure --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;DescriptionText&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;This work item was created by Team Build on a build failure.&lt;FONT color=#008080&gt;&amp;lt;/DescriptionText&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- Text pointing to log file location on build failure --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;BuildlogText&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;The build log file is at:&lt;FONT color=#008080&gt;&amp;lt;/BuildlogText&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- Text pointing to error/warnings file location on build failure --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;ErrorWarningLogText&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;The errors/warnings log file is at:&lt;FONT color=#008080&gt;&amp;lt;/ErrorWarningLogText&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;/PropertyGroup&amp;gt;&lt;/FONT&gt;
&lt;SPAN style="BACKGROUND-COLOR: #ffff66"&gt;&lt;U&gt;  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;PropertyGroup&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- Assembly version properties. Add others here --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;AssemblyMajorVersion&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;9&lt;FONT color=#008080&gt;&amp;lt;/AssemblyMajorVersion&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;AssemblyFileMajorVersion&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;9&lt;FONT color=#008080&gt;&amp;lt;/AssemblyFileMajorVersion&amp;gt;&lt;/FONT&gt;

    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- TF.exe --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;TF&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;&amp;amp;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#804040&gt;&lt;B&gt;quot&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;;&lt;/B&gt;&lt;/FONT&gt;$(TeamBuildRefPath)\..\tf.exe&lt;FONT color=#2e8b57&gt;&lt;B&gt;&amp;amp;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#804040&gt;&lt;B&gt;quot&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;lt;/TF&amp;gt;&lt;/FONT&gt;

    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- AssemblyInfo file spec --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;AssemblyInfoSpec&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;AssemblyInfo.cs&lt;FONT color=#008080&gt;&amp;lt;/AssemblyInfoSpec&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;/PropertyGroup&amp;gt;&lt;/FONT&gt;

&lt;/U&gt;&lt;/SPAN&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff66"&gt;&lt;U&gt;  &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- Set this to non-existent file to force rebuild. --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;ItemGroup&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;IntermediateAssembly&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Include&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"$(SolutionRoot)\foobar.dll"&lt;/FONT&gt;&lt;FONT color=#008080&gt;/&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;/ItemGroup&amp;gt;&lt;/FONT&gt;
&lt;/U&gt;
&lt;/FONT&gt;  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;ItemGroup&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  SOLUTIONS&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     The path of the solutions to build. To add/delete solutions, edit this&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     value. For example, to add a solution MySolution.sln, add following line -&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;         &amp;lt;SolutionToBuild Include="$(SolutionRoot)\path\MySolution.sln" /&amp;gt;&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;     To change the order in which the solutions are build, modify the order in&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     which the solutions appear below.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;SolutionToBuild&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Include&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"$(SolutionRoot)\ConsoleApplication4.sln"&lt;/FONT&gt;&lt;FONT color=#008080&gt; /&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;/ItemGroup&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;ItemGroup&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  CONFIGURATIONS&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     The list of configurations to build. To add/delete configurations, edit&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     this value. For example, to add a new configuration, add following lines -&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;         &amp;lt;ConfigurationToBuild Include="Debug|x86"&amp;gt;&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;             &amp;lt;FlavorToBuild&amp;gt;Debug&amp;lt;/FlavorToBuild&amp;gt;&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;             &amp;lt;PlatformToBuild&amp;gt;x86&amp;lt;/PlatformToBuild&amp;gt;&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;         &amp;lt;/ConfigurationToBuild&amp;gt;&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;     The Include attribute value should be unique for each ConfigurationToBuild node.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;ConfigurationToBuild&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Include&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"Release|Any CPU"&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
      &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;FlavorToBuild&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;Release&lt;FONT color=#008080&gt;&amp;lt;/FlavorToBuild&amp;gt;&lt;/FONT&gt;
      &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;PlatformToBuild&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;Any CPU&lt;FONT color=#008080&gt;&amp;lt;/PlatformToBuild&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;/ConfigurationToBuild&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;/ItemGroup&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;ItemGroup&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  TEST ARGUMENTS&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     If the RunTest is set to true then the following test arguments will be&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     used to run tests.&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;     To add/delete new testlist or to choose a metadata file (.vsmdi) file, edit this value.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     For e.g. to run BVT1 and BVT2 type tests mentioned in the Helloworld.vsmdi file, add the following -&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;     &amp;lt;MetaDataFile Include="$(SolutionRoot)\HelloWorld\HelloWorld.vsmdi"&amp;gt;&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;         &amp;lt;TestList&amp;gt;BVT1;BVT2&amp;lt;/TestList&amp;gt;&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     &amp;lt;/MetaDataFile&amp;gt;&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;     Where BVT1 and BVT2 are valid test types defined in the HelloWorld.vsmdi file.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     MetaDataFile - Full path to test metadata file.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     TestList - The test list in the selected metadata file to run.&lt;/FONT&gt;

&lt;FONT color=#0000ff&gt;     Please note that you need to specify the vsmdi file relative to $(SolutionRoot)&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;MetaDataFile&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Include&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;" "&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
      &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;TestList&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt; &lt;FONT color=#008080&gt;&amp;lt;/TestList&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;/MetaDataFile&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;/ItemGroup&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;ItemGroup&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;--  ADDITIONAL REFERENCE PATH&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     The list of additional reference paths to use while resolving references.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;     For example,&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;         &amp;lt;AdditionalReferencePath Include="C:\MyFolder\" /&amp;gt;&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;         &amp;lt;AdditionalReferencePath Include="C:\MyFolder2\" /&amp;gt;&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt;    --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;/ItemGroup&amp;gt;&lt;/FONT&gt;

&lt;SPAN style="BACKGROUND-COLOR: #ffff66"&gt;&lt;U&gt;  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Target&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Name&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"AfterGet"&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Condition&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"'$(IsDesktopBuild)'!='true'"&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
&lt;FONT style="BACKGROUND-COLOR: #9acd32"&gt;&amp;nbsp;&amp;nbsp;  &lt;FONT color=#0000ff&gt;&amp;lt;!&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;-- Set the AssemblyInfoFiles items dynamically --&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;
  &amp;nbsp;&amp;nbsp;&lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;CreateItem &lt;STRONG&gt;&lt;FONT color=#2e8b57&gt;Include&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color=#000000&gt;=&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;"$(SolutionRoot)\**\$(AssemblyInfoSpec)"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
      &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Output &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;ItemName&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"AssemblyInfoFiles" &lt;STRONG&gt;&lt;FONT color=#2e8b57&gt;TaskParameter&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color=#000000&gt;=&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;"Include" &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;/&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;/CreateItem&amp;gt;&lt;/FONT&gt;
&lt;/FONT&gt;&lt;/U&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff"&gt;&lt;/FONT&gt;
&lt;U&gt;    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Exec&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;WorkingDirectory&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"$(SolutionRoot)"&lt;/FONT&gt;
&lt;FONT color=#008080&gt;          &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Command&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"$(TF) checkout /recursive $(AssemblyInfoSpec)"&lt;/FONT&gt;&lt;FONT color=#008080&gt;/&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;/Target&amp;gt;&lt;/FONT&gt;

  &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Target&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Name&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"AfterCompile"&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Condition&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"'$(IsDesktopBuild)'!='true'"&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Exec&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;WorkingDirectory&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"$(SolutionRoot)"&lt;/FONT&gt;
&lt;FONT color=#008080&gt;          &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Command&lt;/B&gt;&lt;/FONT&gt;=&lt;FONT color=#ff00ff&gt;"$(TF) checkin /comment:&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;&amp;amp;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#804040&gt;&lt;B&gt;quot&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;Auto-Build: Version Update&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;&amp;amp;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#804040&gt;&lt;B&gt;quot&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt; /noprompt /override:&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;&amp;amp;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#804040&gt;&lt;B&gt;quot&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;Auto-Build: Version Update&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;&amp;amp;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#804040&gt;&lt;B&gt;quot&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt; /recursive $(AssemblyInfoSpec)"&lt;/FONT&gt;&lt;FONT color=#008080&gt;/&amp;gt;&lt;/FONT&gt;
  &lt;FONT color=#008080&gt;&amp;lt;/Target&amp;gt;&lt;/FONT&gt;
&lt;/U&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;lt;!-- In case of Build failure, the AfterCompile target is not executed. Undo the changes --&amp;gt;
&lt;FONT color=#008080&gt;&lt;U&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff66"&gt;&lt;FONT color=#000000&gt;  &lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Target&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Name&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;=&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;"BeforeOnBuildBreak"&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Condition&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;=&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;"'$(IsDesktopBuild)'!='true'"&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
&lt;FONT color=#000000&gt;    &lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;Exec&lt;/FONT&gt;&lt;FONT color=#008080&gt; &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;WorkingDirectory&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;=&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;"$(SolutionRoot)"&lt;/FONT&gt;
&lt;FONT color=#008080&gt;          &lt;/FONT&gt;&lt;FONT color=#2e8b57&gt;&lt;B&gt;Command&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;=&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;"$(TF) undo &lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;/noprompt &lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;/recursive $(AssemblyInfoSpec)"&lt;/FONT&gt;&lt;FONT color=#008080&gt;/&amp;gt;&lt;/FONT&gt;
&lt;FONT color=#000000&gt;  &lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;lt;/Target&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;&lt;U&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff66"&gt;
&lt;/FONT&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;lt;/Project&amp;gt;&lt;/FONT&gt;
&lt;/PRE&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=509146" width="1" height="1"&gt;</content><author><name>gautamg</name><uri>http://blogs.msdn.com/members/gautamg.aspx</uri></author><category term="Team Build" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Build/default.aspx" /><category term="Team Foundation Server" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Foundation+Server/default.aspx" /></entry><entry><title>Who requested this build?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/archive/2005/12/20/who-requested-this-build.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="4208" href="http://blogs.msdn.com/gautamg/attachment/505863.ashx" /><id>http://blogs.msdn.com/gautamg/archive/2005/12/20/who-requested-this-build.aspx</id><published>2005-12-20T14:19:00Z</published><updated>2005-12-20T14:19:00Z</updated><content type="html">&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt"&gt;&lt;FONT color=#000000&gt;&lt;FONT face=Tahoma&gt;&lt;FONT size=2&gt;In certain scenarios you may want to take different actions based on user who have requested the build (or may simply want to report that in log file).&amp;nbsp; Though the Team Build stores the name of the user who has requested the build (and this is shown in the UI), the value is&amp;nbsp;not passed to the build process.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt"&gt;&lt;FONT color=#000000&gt;&lt;FONT face=Tahoma&gt;&lt;FONT size=2&gt;However, do not get dishearten.&amp;nbsp; There is a workaround - use the&amp;nbsp;task code given below&amp;nbsp;to get the RequestedBy value.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&lt;SPAN style="FONT-SIZE: 12pt"&gt;&lt;FONT size=2&gt;Steps to use&lt;/FONT&gt; -&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;SPAN style="FONT-SIZE: 12pt"&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt 40.1pt; TEXT-INDENT: -0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma; mso-fareast-font-family: Tahoma"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT color=#000000&gt;Copy/paste the code given below in GetRequestedBy.cs file.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt 40.1pt; TEXT-INDENT: -0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma; mso-fareast-font-family: Tahoma"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT color=#000000&gt;Build the code given below using following command line -&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#a52a2a&gt;csc /r:Microsoft.Build.Framework.dll;Microsoft.Build.Utilities.dll;%SystemDrive%\Windows\assembly\GAC_32\Microsoft.TeamFoundation.Client\8.0.0.0__b03f5f7f11d50a3a\Microsoft.TeamFoundation.Client.dll;%SystemDrive%\Windows\assembly\GAC_32\Microsoft.TeamFoundation.Build.Common\8.0.0.0__b03f5f7f11d50a3a\Microsoft.TeamFoundation.Build.Common.dll; /t:library /out:Microsoft.TeamFoundation.Build.Samples.GetRequestedBy.dll GetRequestedBy.cs&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt 40.1pt; TEXT-INDENT: -0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma"&gt;&lt;FONT color=#000000&gt;Checkin the Microsoft.TeamFoundation.Build.Samples.GetRequestedBy.dll built above in the&amp;nbsp;build type folder (i.e. the same location as TFSBuild.proj file).&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt 40.1pt; TEXT-INDENT: -0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma"&gt;&lt;FONT color=#000000&gt;Add following line after the Project tag (at the start of TFSBuild.proj).&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#a52a2a&gt;&amp;lt;UsingTask TaskName="Microsoft.TeamFoundation.Build.Samples.GetRequestedBy" AssemblyFile="$(MSBuildProjectDirectory)\Microsoft.TeamFoundation.Build.Samples.GetRequestedBy.dll" /&amp;gt; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt 40.1pt; TEXT-INDENT: -0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma"&gt;&lt;/SPAN&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;Override BeforeEndToEndIteration in TFSBuild.proj to get the RequestedBy value.&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Tahoma color=#a52a2a size=2&gt;&amp;lt;Target Name="BeforeEndToEndIteration"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;GetRequestedBy&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TeamFoundationServerUrl="$(TeamFoundationServerUrl)"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BuildUri="$(BuildURI)" &amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Output TaskParameter="RequestedBy" PropertyName="RequestedBy" /&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/GetRequestedBy&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;Message Text="$(RequestedBy)" /&amp;gt;&lt;BR&gt;&amp;lt;/Target&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt 40.1pt; TEXT-INDENT: -0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;Now, you can use RequestedBy property anywhere you want.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 40.1pt; TEXT-INDENT: -0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;FONT face=Tahoma size=2&gt;The complete solution is also available as attachment to this blog.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;Gautam&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff&gt;/**===========================================================================&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * File: GetRequestedBy.cs&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * ----------------------------------------------------------------------------&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; *&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * This file is part of the Microsoft Visual Studio Team System Samples.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; *&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * Copyright(C)  2004  Microsoft Corporation. All rights reserved.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; *&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * ============================================================================&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; */&lt;/FONT&gt;

&lt;FONT color=#804040&gt;&lt;B&gt;using&lt;/B&gt;&lt;/FONT&gt; System;
&lt;FONT color=#804040&gt;&lt;B&gt;using&lt;/B&gt;&lt;/FONT&gt; System.Globalization;
&lt;FONT color=#804040&gt;&lt;B&gt;using&lt;/B&gt;&lt;/FONT&gt; Microsoft.Build.Framework;
&lt;FONT color=#804040&gt;&lt;B&gt;using&lt;/B&gt;&lt;/FONT&gt; Microsoft.Build.Utilities;
&lt;FONT color=#804040&gt;&lt;B&gt;using&lt;/B&gt;&lt;/FONT&gt; Microsoft.TeamFoundation.Build.Proxy;
&lt;FONT color=#804040&gt;&lt;B&gt;using&lt;/B&gt;&lt;/FONT&gt; Microsoft.TeamFoundation.Client;


&lt;FONT color=#2e8b57&gt;&lt;B&gt;namespace&lt;/B&gt;&lt;/FONT&gt; Microsoft.TeamFoundation.Build.Samples
{
    &lt;FONT color=#0000ff&gt;///&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; &lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#804040&gt;&lt;B&gt;summary&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;///&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; This task will update the build number and Drop location on the server&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;///&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; Inputs are the Tfs name, build Uri, build number, and drop location.&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;///&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; errors are reported as message and get logged.&lt;/FONT&gt;
    &lt;FONT color=#0000ff&gt;///&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; &lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;lt;/&lt;/FONT&gt;&lt;FONT color=#804040&gt;&lt;B&gt;summary&lt;/B&gt;&lt;/FONT&gt;&lt;FONT color=#008080&gt;&amp;gt;&lt;/FONT&gt;
    &lt;FONT color=#2e8b57&gt;&lt;B&gt;public&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;class&lt;/B&gt;&lt;/FONT&gt; GetRequestedBy: Task
    {
        [Required]
        &lt;FONT color=#2e8b57&gt;&lt;B&gt;public&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; TeamFoundationServerUrl
        {
            &lt;FONT color=#804040&gt;&lt;B&gt;set&lt;/B&gt;&lt;/FONT&gt;
            {
                m_tfsUrl = &lt;FONT color=#804040&gt;&lt;B&gt;value&lt;/B&gt;&lt;/FONT&gt;;
            }

            &lt;FONT color=#804040&gt;&lt;B&gt;get&lt;/B&gt;&lt;/FONT&gt;
            {
                &lt;FONT color=#804040&gt;&lt;B&gt;return&lt;/B&gt;&lt;/FONT&gt; m_tfsUrl;
            }
        }

        [Required]
        &lt;FONT color=#2e8b57&gt;&lt;B&gt;public&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; BuildUri
        {
            &lt;FONT color=#804040&gt;&lt;B&gt;set&lt;/B&gt;&lt;/FONT&gt;
            {
                m_buildUri= &lt;FONT color=#804040&gt;&lt;B&gt;value&lt;/B&gt;&lt;/FONT&gt;;
            }

            &lt;FONT color=#804040&gt;&lt;B&gt;get&lt;/B&gt;&lt;/FONT&gt;
            {
                &lt;FONT color=#804040&gt;&lt;B&gt;return&lt;/B&gt;&lt;/FONT&gt; m_buildUri;
            }
        }

        [Output]
        &lt;FONT color=#2e8b57&gt;&lt;B&gt;public&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; RequestedBy
        {
            &lt;FONT color=#804040&gt;&lt;B&gt;set&lt;/B&gt;&lt;/FONT&gt;
            {
                m_requestedBy = &lt;FONT color=#804040&gt;&lt;B&gt;value&lt;/B&gt;&lt;/FONT&gt;;
            }

            &lt;FONT color=#804040&gt;&lt;B&gt;get&lt;/B&gt;&lt;/FONT&gt;
            {
                &lt;FONT color=#804040&gt;&lt;B&gt;return&lt;/B&gt;&lt;/FONT&gt; m_requestedBy;
            }
        }

        &lt;FONT color=#2e8b57&gt;&lt;B&gt;override&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;public&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;bool&lt;/B&gt;&lt;/FONT&gt; Execute()
        {
            &lt;FONT color=#0000ff&gt;// Output parameters - can be helpful in debugging&lt;/FONT&gt;
            &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; message = &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt;.Format(CultureInfo.InvariantCulture,
                &lt;FONT color=#ff00ff&gt;"GetRequestedBy TeamFoundationServerUrl={0}, BuildUri={1}"&lt;/FONT&gt;,
                TeamFoundationServerUrl, BuildUri);

            Log.LogMessage(MessageImportance.Normal, message);

            &lt;FONT color=#804040&gt;&lt;B&gt;try&lt;/B&gt;&lt;/FONT&gt;
            {
                TeamFoundationServer tfs = TeamFoundationServerFactory.GetServer(m_tfsUrl);
                BuildStore buildStore = (BuildStore)tfs.GetService(&lt;FONT color=#804040&gt;&lt;B&gt;typeof&lt;/B&gt;&lt;/FONT&gt;(BuildStore));
                RequestedBy = buildStore.GetBuildDetails(m_buildUri).RequestedBy;
            }
            &lt;FONT color=#804040&gt;&lt;B&gt;catch&lt;/B&gt;&lt;/FONT&gt; (Exception ex)
            {
                &lt;FONT color=#0000ff&gt;// log the error&lt;/FONT&gt;
                Log.LogError(ex.Message);
                &lt;FONT color=#804040&gt;&lt;B&gt;return&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#ff00ff&gt;false&lt;/FONT&gt;;
            }

            &lt;FONT color=#804040&gt;&lt;B&gt;return&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#ff00ff&gt;true&lt;/FONT&gt;;
        }

        &lt;FONT color=#2e8b57&gt;&lt;B&gt;private&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; m_tfsUrl;
        &lt;FONT color=#2e8b57&gt;&lt;B&gt;private&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; m_buildUri;
        &lt;FONT color=#2e8b57&gt;&lt;B&gt;private&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; m_requestedBy;
    }
}

&lt;/FONT&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=505863" width="1" height="1"&gt;</content><author><name>gautamg</name><uri>http://blogs.msdn.com/members/gautamg.aspx</uri></author><category term="Team Build" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Build/default.aspx" /><category term="Team Foundation Server" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Foundation+Server/default.aspx" /></entry><entry><title>How to find if build is in progress?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/archive/2005/12/19/how-to-find-if-build-is-in-progress.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="3937" href="http://blogs.msdn.com/gautamg/attachment/505422.ashx" /><id>http://blogs.msdn.com/gautamg/archive/2005/12/19/how-to-find-if-build-is-in-progress.aspx</id><published>2005-12-19T15:21:00Z</published><updated>2005-12-19T15:21:00Z</updated><content type="html">&lt;P&gt;In v1, we do not exposed an option in the UI or otherwise to check whether the build machine is free or not.&amp;nbsp; If the build machine is not free and you fire a build, you get an error back, which is fine.&amp;nbsp; However, if you want to queue builds or pick one of the machines that is free, you need a way to check whether the build machine is free or not.&lt;/P&gt;
&lt;P&gt;You can do this using the code below.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Copy/paste the code below in a file called CheckBuildMachine.cs 
&lt;LI&gt;Compile the file using following command -
&lt;P class=MsoNormal&gt;&lt;FONT face=Tahoma color=#993300 size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #993300; FONT-FAMILY: Tahoma"&gt;csc /r:%SystemDrive%\Windows\assembly\GAC_32\Microsoft.TeamFoundation.Build.Common\8.0.0.0__b03f5f7f11d50a3a\Microsoft.TeamFoundation.Build.Common.dll CheckBuildMachine.cs&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Tahoma color=green size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Tahoma"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;LI&gt;Run -&lt;BR&gt;CheckBuildMachine &amp;lt;your team project&amp;gt; &amp;lt;your build machine&amp;gt;&lt;BR&gt;to check whether the build machine is free or not.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;The build machine is tied to one Team Foundation Server and can do one build per team project at a time. Multiple builds of&amp;nbsp;different team project can be done&amp;nbsp;simultaneously.&lt;/P&gt;
&lt;P&gt;You can also use the zip file attached to download the complete solution and build it in VS.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Gautam&lt;/P&gt;&lt;PRE&gt;&lt;FONT color=#0000ff&gt;/**===========================================================================&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * File: CheckBuildMachine.cs&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * ----------------------------------------------------------------------------&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; *&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * This file is part of the Microsoft Visual Studio Team System Samples.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; *&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * Copyright(C)  2004  Microsoft Corporation. All rights reserved.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; *&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; * ============================================================================&lt;/FONT&gt;
&lt;FONT color=#0000ff&gt; */&lt;/FONT&gt;

&lt;FONT color=#804040&gt;&lt;B&gt;using&lt;/B&gt;&lt;/FONT&gt; System;
&lt;FONT color=#804040&gt;&lt;B&gt;using&lt;/B&gt;&lt;/FONT&gt; System.Diagnostics;
&lt;FONT color=#804040&gt;&lt;B&gt;using&lt;/B&gt;&lt;/FONT&gt; Microsoft.TeamFoundation.Build.Common;

&lt;FONT color=#2e8b57&gt;&lt;B&gt;namespace&lt;/B&gt;&lt;/FONT&gt; Microsoft.TeamFoundation.Build.Samples
{
    &lt;FONT color=#2e8b57&gt;&lt;B&gt;class&lt;/B&gt;&lt;/FONT&gt; CheckBuildMachine
    {
        &lt;FONT color=#2e8b57&gt;&lt;B&gt;static&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;void&lt;/B&gt;&lt;/FONT&gt; Main(&lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt;[] args)
        {
            &lt;FONT color=#804040&gt;&lt;B&gt;if&lt;/B&gt;&lt;/FONT&gt; (args.Length == &lt;FONT color=#ff00ff&gt;1&lt;/FONT&gt; &amp;amp;&amp;amp; AskingForHelp(args[&lt;FONT color=#ff00ff&gt;0&lt;/FONT&gt;]))
            {
                ShowUsage(&lt;FONT color=#ff00ff&gt;0&lt;/FONT&gt;);
            }

            &lt;FONT color=#804040&gt;&lt;B&gt;if&lt;/B&gt;&lt;/FONT&gt; (args.Length &amp;lt; &lt;FONT color=#ff00ff&gt;2&lt;/FONT&gt; || args.Length &amp;gt; &lt;FONT color=#ff00ff&gt;3&lt;/FONT&gt;)
            {
                Console.Error.WriteLine(&lt;FONT color=#ff00ff&gt;"Invalid arguments."&lt;/FONT&gt;);
                ShowUsage(&lt;FONT color=#ff00ff&gt;1&lt;/FONT&gt;);
            }

            teamProject = args[&lt;FONT color=#ff00ff&gt;0&lt;/FONT&gt;];
            machine = args[&lt;FONT color=#ff00ff&gt;1&lt;/FONT&gt;];
            &lt;FONT color=#804040&gt;&lt;B&gt;if&lt;/B&gt;&lt;/FONT&gt; (args.Length == &lt;FONT color=#ff00ff&gt;3&lt;/FONT&gt;)
            {
                &lt;FONT color=#804040&gt;&lt;B&gt;if&lt;/B&gt;&lt;/FONT&gt; (!&lt;FONT color=#2e8b57&gt;&lt;B&gt;int&lt;/B&gt;&lt;/FONT&gt;.TryParse(args[&lt;FONT color=#ff00ff&gt;2&lt;/FONT&gt;], &lt;FONT color=#804040&gt;&lt;B&gt;out&lt;/B&gt;&lt;/FONT&gt; port))
                {
                    Console.Error.WriteLine(&lt;FONT color=#ff00ff&gt;"Invalid port: {0}"&lt;/FONT&gt;, args[&lt;FONT color=#ff00ff&gt;2&lt;/FONT&gt;]);
                    ShowUsage(&lt;FONT color=#ff00ff&gt;1&lt;/FONT&gt;);
                }
            }

            CheckMachine();
        }

        &lt;FONT color=#2e8b57&gt;&lt;B&gt;private&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;static&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;void&lt;/B&gt;&lt;/FONT&gt; CheckMachine()
        {
            Debug.Assert(machine != &lt;FONT color=#ff00ff&gt;null&lt;/FONT&gt;);
            &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; uri = &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt;.Format(BuildAgentUri, machine, port, &lt;FONT color=#804040&gt;&lt;B&gt;typeof&lt;/B&gt;&lt;/FONT&gt;(IBuildAgent).FullName);

            &lt;FONT color=#804040&gt;&lt;B&gt;try&lt;/B&gt;&lt;/FONT&gt;
            {
                IBuildAgent agent = (IBuildAgent)Activator.GetObject(&lt;FONT color=#804040&gt;&lt;B&gt;typeof&lt;/B&gt;&lt;/FONT&gt;(IBuildAgent), uri);
                &lt;FONT color=#804040&gt;&lt;B&gt;if&lt;/B&gt;&lt;/FONT&gt; (agent.IsBuildInProgress(teamProject))
                {
                    Console.WriteLine(&lt;FONT color=#ff00ff&gt;"The machine {0} not free."&lt;/FONT&gt;, machine);
                }
                &lt;FONT color=#804040&gt;&lt;B&gt;else&lt;/B&gt;&lt;/FONT&gt;
                {
                    Console.WriteLine(&lt;FONT color=#ff00ff&gt;"The machine {0} is free."&lt;/FONT&gt;, machine);
                }
            }
            &lt;FONT color=#804040&gt;&lt;B&gt;catch&lt;/B&gt;&lt;/FONT&gt; (Exception ex)
            {
                Console.Error.WriteLine(&lt;FONT color=#ff00ff&gt;"Unable to reach machine {0}. {1}"&lt;/FONT&gt;, machine, ex.Message);
            }
        }

        &lt;FONT color=#2e8b57&gt;&lt;B&gt;private&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;static&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;bool&lt;/B&gt;&lt;/FONT&gt; AskingForHelp(&lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; arg)
        {
            &lt;FONT color=#804040&gt;&lt;B&gt;if&lt;/B&gt;&lt;/FONT&gt; (StringComparer.OrdinalIgnoreCase.Equals(arg, &lt;FONT color=#ff00ff&gt;"/?"&lt;/FONT&gt;) ||
                StringComparer.OrdinalIgnoreCase.Equals(arg, &lt;FONT color=#ff00ff&gt;"-?"&lt;/FONT&gt;) ||
                StringComparer.OrdinalIgnoreCase.Equals(arg, &lt;FONT color=#ff00ff&gt;"/h"&lt;/FONT&gt;) ||
                StringComparer.OrdinalIgnoreCase.Equals(arg, &lt;FONT color=#ff00ff&gt;"-h"&lt;/FONT&gt;))
                &lt;FONT color=#804040&gt;&lt;B&gt;return&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#ff00ff&gt;true&lt;/FONT&gt;;

            &lt;FONT color=#804040&gt;&lt;B&gt;return&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#ff00ff&gt;false&lt;/FONT&gt;;
        }

        &lt;FONT color=#2e8b57&gt;&lt;B&gt;private&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;static&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;void&lt;/B&gt;&lt;/FONT&gt; ShowUsage(&lt;FONT color=#2e8b57&gt;&lt;B&gt;int&lt;/B&gt;&lt;/FONT&gt; exitCode)
        {
            Console.WriteLine(&lt;FONT color=#ff00ff&gt;"Usage:"&lt;/FONT&gt;);
            Console.WriteLine(&lt;FONT color=#ff00ff&gt;"&lt;/FONT&gt;&lt;FONT color=#6a5acd&gt;\t&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;CheckBuildMachine.exe &amp;lt;team project&amp;gt; &amp;lt;build machine&amp;gt; [&amp;lt;port&amp;gt;]"&lt;/FONT&gt;);
            Console.WriteLine(&lt;FONT color=#ff00ff&gt;"&lt;/FONT&gt;&lt;FONT color=#6a5acd&gt;\t&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;The default value of port is 9191."&lt;/FONT&gt;);
            Console.WriteLine(&lt;FONT color=#ff00ff&gt;"Example:"&lt;/FONT&gt;);
            Console.WriteLine(&lt;FONT color=#ff00ff&gt;"&lt;/FONT&gt;&lt;FONT color=#6a5acd&gt;\t&lt;/FONT&gt;&lt;FONT color=#ff00ff&gt;CheckBuildMachine.exe MyProject MyBuildMachine"&lt;/FONT&gt;);

            Environment.Exit(exitCode);
        }

        &lt;FONT color=#2e8b57&gt;&lt;B&gt;private&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;static&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; teamProject;
        &lt;FONT color=#2e8b57&gt;&lt;B&gt;private&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;static&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; machine;
        &lt;FONT color=#2e8b57&gt;&lt;B&gt;private&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;static&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;int&lt;/B&gt;&lt;/FONT&gt; port = &lt;FONT color=#ff00ff&gt;9191&lt;/FONT&gt;; &lt;FONT color=#0000ff&gt;// default port&lt;/FONT&gt;

        &lt;FONT color=#2e8b57&gt;&lt;B&gt;private&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;const&lt;/B&gt;&lt;/FONT&gt; &lt;FONT color=#2e8b57&gt;&lt;B&gt;string&lt;/B&gt;&lt;/FONT&gt; BuildAgentUri = &lt;FONT color=#ff00ff&gt;"tcp://{0}:{1}/{2}"&lt;/FONT&gt;;
    }
}
&lt;/PRE&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=505422" width="1" height="1"&gt;</content><author><name>gautamg</name><uri>http://blogs.msdn.com/members/gautamg.aspx</uri></author><category term="Team Build" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Build/default.aspx" /><category term="Team Foundation Server" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Foundation+Server/default.aspx" /></entry><entry><title>Setting different drop location with same build type</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/archive/2005/12/09/setting-different-drop-location-with-same-build-type.aspx" /><id>http://blogs.msdn.com/gautamg/archive/2005/12/09/setting-different-drop-location-with-same-build-type.aspx</id><published>2005-12-09T11:58:00Z</published><updated>2005-12-09T11:58:00Z</updated><content type="html">&lt;P&gt;There was this question in Team Foundation forums -&lt;/P&gt;
&lt;P&gt;We have developers at two different sites.&amp;nbsp;&amp;nbsp; Is it possible to have a single team build type that we can run on build machines at each site using a drop location local to the site?&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;In Team Build, there is an option to override Build Directory but there is no option to override Drop Location.&amp;nbsp; However, one can override the Drop Location by using Build Directory to distinguish between two sites.&lt;/P&gt;
&lt;P&gt;For example, the current entry in TFSBuild.proj looks like -&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;DropLocation&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT size=2&gt;\\GAUTAMG6\drops&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;/&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;DropLocation&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;Remove that line and add -&lt;BR&gt;&lt;FONT color=#0000ff size=2&gt;&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;DropLocation&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;Condition&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; '$(BuildDirectoryPath)'=='D:\&lt;STRONG&gt;MySite1&lt;/STRONG&gt;' &lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;\\&lt;STRONG&gt;MySite1&lt;/STRONG&gt;Server\drops&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;/&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;DropLocation&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;DropLocation&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;Condition&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt; '$(BuildDirectoryPath)'=='D:\&lt;STRONG&gt;MySite2&lt;/STRONG&gt;' &lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;"&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;\\&lt;STRONG&gt;MySite2&lt;/STRONG&gt;Server\drops&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;/&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;DropLocation&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;The the site 1 should pass D:\MySite1 as build directory in the UI (or command line) and site 2 should pass D:\MySite2.&lt;/P&gt;
&lt;P&gt;The complete forums thread is &lt;A href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=162959&amp;amp;SiteID=1&amp;amp;mode=1"&gt;here&lt;/A&gt;.&amp;nbsp; (There is a known issue here in Beta 3.&amp;nbsp; Please refer the thread for the workaround.)&lt;BR&gt;&lt;BR&gt;Happy Building!!!&lt;BR&gt;Gautam&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=501952" width="1" height="1"&gt;</content><author><name>gautamg</name><uri>http://blogs.msdn.com/members/gautamg.aspx</uri></author><category term="Team Build" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Build/default.aspx" /><category term="Team Foundation Server" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Foundation+Server/default.aspx" /></entry><entry><title>My list of interesting stuff at PDC2005</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/archive/2005/09/16/my-list-of-interesting-stuff-at-pdc2005.aspx" /><id>http://blogs.msdn.com/gautamg/archive/2005/09/16/my-list-of-interesting-stuff-at-pdc2005.aspx</id><published>2005-09-16T10:30:00Z</published><updated>2005-09-16T10:30:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;My laundry list of product/technology/features that I liked at PDC (based mostly on keynotes):&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;&lt;STRONG&gt;Product/Technology:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;&lt;A href="http://lab.msdn.microsoft.com/teamsystem/"&gt;Visual Studio Team System&lt;/A&gt; and &lt;A href="http://lab.msdn.microsoft.com/teamsystem/teamcenters/team/default.aspx"&gt;Team Foundation Server&lt;/A&gt; (hey, it is my product :)) - This will give IBM Rational&amp;nbsp;run for their bucks.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;&lt;A href="http://msdn.microsoft.com/windowsvista/building/presentation/default.aspx"&gt;Windows Presentation Foundation&lt;/A&gt; (a.k.a. Avalon) and &lt;A href="http://www.xaml.net/"&gt;XAML&lt;/A&gt;&amp;nbsp;- The next generation mind-blowing UI&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;&lt;A href="http://www.microsoft.com/products/expression/en/default.aspx"&gt;Expression suite&lt;/A&gt; (Acryllic, Sparkle and Quartz) - The new super cool designer!&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;&lt;A href="http://msdn.microsoft.com/netframework/future/linq/default.aspx"&gt;Linq&lt;/A&gt;&amp;nbsp;- Native syntax for database query built into the language!!!&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;&lt;A href="http://msdn.microsoft.com/data/WinFS/default.aspx"&gt;WinFS&lt;/A&gt;&amp;nbsp;- The new relational file system for Windows.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;&lt;STRONG&gt;Windows Vista Features:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;Quick search based on WinFS is everywhere even in Start menu where it can filter the "All Programs" list.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;Hovering mouse over minimized window in task bar (or&amp;nbsp;ALT+TAB action) gives the live preview of the window.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;&lt;A href="http://microsoftgadgets.com/"&gt;Sidebar and gadgets&lt;/A&gt;&amp;nbsp;- For Microsoft employees, this is&amp;nbsp;the old "Sideshow"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;There will be "Parental Control" on the PC so you can set permission what you kids can and cannot do.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;The super fetch cache and auto-defragmentation features for better performance.&amp;nbsp;One can even add a USB drive to your laptop to increase the cache memory!&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;&lt;STRONG&gt;Office Features&lt;/STRONG&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;The new &lt;a href="http://blogs.msdn.com/jensenh/archive/2005/09/15/467956.aspx"&gt;result oriented UI&lt;/A&gt;&amp;nbsp;a.k.a Ribbons!&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;There is&amp;nbsp;live preview of&amp;nbsp;formatting changes (like font) as you select it. There is no need to&amp;nbsp;apply the change to&amp;nbsp;check it out.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;Excel: The data&amp;nbsp;in cells can be graphically visualized in various ways inside the cell.&amp;nbsp; For example, one can add a bar graph to bunch of cells inside the cell itself.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Outlook: Preview pane for attachment inside Outlook.&amp;nbsp;No need to double click on the attachments!!!&lt;/FONT&gt; 
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;Outlook: RSS reader built in Outlook&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Tahoma&gt;Sharepoint: Built in RSS feed feature and in conjunction with the above, ability to have all documents offline in Outlook&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;FONT face=Tahoma&gt;Obviously, there were lots and lots of other interesting stuff.&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=470746" width="1" height="1"&gt;</content><author><name>gautamg</name><uri>http://blogs.msdn.com/members/gautamg.aspx</uri></author><category term="Team Build" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Build/default.aspx" /><category term="Team Foundation Server" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Foundation+Server/default.aspx" /></entry><entry><title>First blog is tough</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/gautamg/archive/2005/08/25/first-blog-is-tough.aspx" /><id>http://blogs.msdn.com/gautamg/archive/2005/08/25/first-blog-is-tough.aspx</id><published>2005-08-26T02:01:00Z</published><updated>2005-08-26T02:01:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Tahoma"&gt;First blog is tough to write. So I think; it took me 6 months after creating the id to come up with this first blog.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Do not let your ignorance compel you into thinking this as procrastination. I have list of 1001 valid excuses! (One of which is I could not blog because the dog wagged his tail! [:)])&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Tahoma"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Tahoma"&gt;Even though I have been lazy in writing, I have been reading lot of blogs – of my team mates – &lt;A href="http://blogs.msdn.com/abhinaba/"&gt;Abhinaba Basu&lt;/A&gt;, &lt;A href="http://blogs.msdn.com/johnlawr/"&gt;John Lawrence&lt;/A&gt;; of my other esteemed colleagues – &lt;A href="http://blogs.msdn.com/somasegar/"&gt;Somasegar&lt;/A&gt;, &lt;A href="http://www.pluralsight.com/blogs/dbox/default.aspx"&gt;Don Box&lt;/A&gt; and other folks like – &lt;A href="http://spaces.msn.com/members/crabbyofficelady/"&gt;Crabby Lady&lt;/A&gt;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Every time I read a &lt;A href="http://blogs.msdn.com/gautamg/"&gt;boring blog&lt;/A&gt; (check your browser it is taking you to wrong link), I felt good about not writing. On the other hand, an &lt;A href="http://blogs.msdn.com/gautamg/"&gt;interesting blog&lt;/A&gt; (yeah, now your browser is working fine) use to make my resolution to blog stronger.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I must have read enough interesting ones…&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Tahoma"&gt;One of the tough parts of first blog is introduction; especially for an introvert person like me it is no easy task.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It would have been good if I had a page like &lt;A href="http://www.gautamgoenka.com/"&gt;www.gautamgoenka.com&lt;/A&gt; where I could redirect for introduction.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;No one would have bothered to check it and I would have got away with it. Er, may be I should have still done this…&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Tahoma"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Tahoma"&gt;Anyways, here is the trivia; I am Gautam Goenka, working as a development lead at &lt;A href="http://www.microsoft.com/india/indiadev/"&gt;Microsoft India Development Center&lt;/A&gt;, Hyderabad, India.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Presently I am working on a cool release - &lt;A href="http://lab.msdn.microsoft.com/teamsystem/"&gt;Visual Studio Team System&lt;/A&gt;, more specifically &lt;A href="http://blogs.msdn.com/team_foundation/archive/2005/03/02/383479.aspx"&gt;Team Build&lt;/A&gt; component of &lt;A href="http://lab.msdn.microsoft.com/teamsystem/teamcenters/team/default.aspx"&gt;Team Foundation Server&lt;/A&gt;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I have been in Microsoft for over 5 years and in previous incarnations have worked on products like &lt;A href="http://msdn.microsoft.com/vjsharp/"&gt;Visual J#&lt;/A&gt; and &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=8ebbba59-5f17-4e52-8980-c4f0dfa92d65&amp;amp;displaylang=en"&gt;Outlook Connector for IBM Lotus Domino&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Tahoma"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Tahoma"&gt;I am very excited to be part of Team Foundation Server team.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It is great to see the product shaping along nicely.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We have been using it internally for several months now and with each refresh of new bits, I can clearly see that the product is much more robust, reliable and with new user-friendly features.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;More on these in coming blogs…&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Tahoma"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Tahoma"&gt;Now that I have written the first blog, I assume subsequent ones will not be this tough.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Let us hope Newton’s law of inertia will work in my favor!&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=456164" width="1" height="1"&gt;</content><author><name>gautamg</name><uri>http://blogs.msdn.com/members/gautamg.aspx</uri></author><category term="Team Build" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Build/default.aspx" /><category term="Team Foundation Server" scheme="http://blogs.msdn.com/gautamg/archive/tags/Team+Foundation+Server/default.aspx" /></entry></feed>