Hack the Build: New MSBuild Resources on Channel 9

Jomo Fisher — Check out the new MSBuild site and MSBuild wiki. Alex Kipman posted a video of our bug triage team in action–if you like to know how things work behind the scenes this is video is for you.

1

MSBuild Sample Code Demonstrating How to Target 1.1 Framework with VS Whidbey Beta 1

<!–Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htmWritten by Jomo Fisher–><Project xmlns=”http://schemas.microsoft.com/developer/msbuild/2003“>     <Import Project=”$(MSBuildBinPath)\Microsoft.CSharp.targets” />     <PropertyGroup>        <CompileDependsOn>$(CompileDependsOn);Compile_1_1</CompileDependsOn>    </PropertyGroup>     <Target       Name=”MainBuiltProjectOutputGroup_1_1″       Outputs=”@(TargetName11->’%(FullPath)’)”>        <CreateItem Include=”bin\$(Configuration)(1_1)\$(TargetFileName)”>  <Output TaskParameter=”Include” ItemName=”TargetName11″ />         </CreateItem>  <Message Text=”==>@(TargetName11)”/>    </Target>     <Target       Name=”ResolveProjectReferences_1_1″      Condition=”‘@(MSBuildProjectReference)’!=”“>  <!–Build the referenced project. –>        <MSBuild              Projects=”@(MSBuildProjectReference)”              Targets=”Build”             …

2

Hack the Build: Targetting .NET Runtime 1.1 Step-by-Step

Note: This article is about targetting CLR version 1.1 with Whidbey Beta1. If you’re interested in Beta2 see this article.   Jomo Fisher–MSBuild doesn’t ship with a way to target CLR version 1.1. I discussed the reasons for this in a prior blog entry and I even said that I respected the decision given our resource limitations….

42