A tool to find duplicate copies in a build

As part of our builds, quite a few projects copy files to the binaries directory or other locations.  These can be anything from image files to test scripts.  To have our builds complete more quickly, we use the multi-process option (/maxcpucount) of msbuild to build projects in parallel. This all sounds normal, so what’s the…


How to use the MSBuild debugger in Visual Studio 2010

Dan Moseley, dev lead for msbuild, wrote a debugger for msbuild while on leave(!) back during the 2010 cycle.  While it ultimately couldn’t be fully completed and tested to be an official feature, it is in the product with a switch to enable it (it’s off by default).  This was a conscious decision made by…


Debug your build with MSBuild Sidekick v2.3

The folks at Attrice have released a new version of their MSBuild Sidekick, and it now includes a visual debugger for msbuild.  If you’ve ever tried to debug a build process, you know how tedious it can be and will want to check this out. MSBuild Sidekick v 2.3 is released We are happy to…


New book on MSBuild and Team Foundation Build

There is now a book dedicated to MSBuild and Team Foundation Build.  The book is written by Sayed Ibrahim Hashimi and William Bartholomew.  Sayed has written about MSBuild before, both in books and MSDN Magazine articles, and William is a Team System MVP with a lot of experience in customizing the build process in Team…


Using Team Foundation Build with BizTalk and SSIS projects

Unfortunately there are several types of projects that do not work natively with MSBuild.  Jim Lamb, program manager for Team Build, has put together a few posts with pointers on how to get these to work with Team Build. Project System Compatibility with Team Build SQL Server Integration Services and Team Build BizTalk Server and…


MSBuild Extensions Pack now available

Mike Fourie has released the first version of MSBuild Extensions Pack on CodePlex.  This is a great collection of quality tasks for MSBuild that you can also use in Team Foundation Build. The MSBuild Extension Pack is the successor to the FreeToDev MSBuild Tasks Suite and provides a collection of over 170 MSBuild tasks designed…


Automation with MSBuild 3.5 and Team Build 2008 recording is now available

Charles Sterling announced a new interactive forum called MVP TV earlier this month.  The first event was Automation with MSBuild 3.5 and Team Build 2008.  Now the recording for this event is available. The debut of MVP TV Attendance: 92 attendees Thursday, August 21st, 2008 | 9:00am – 10:00am (PDT, Redmond time) Public: This Product…


MSBuild project analysis tool: BuildCop

Jelle Druyts has created an interesting tool and made it available on CodePlex. Just Released: BuildCop v1.0! It is with great pleasure that I’m finally ready to release another open source tool on CodePlex: BuildCop. BuildCop is a tool that analyzes MSBuild project files (interactively or during e.g. a daily build) according to a customizable…


MSBuild by Example

Sayed Ibrahim Hashimi’s book, Deploying .NET Applications, contains a chapter on MSBuild.  While I knew about the chapter in the book, I didn’t realize that the chapter on MSBuild was available online until Eugene Zakhareyev mentioned it. If you are looking for a good way to get started with MSBuild, MSBuild: By Example is a…


MSBuild Sidekick V2 beta

Eugene Zakhareyev has released a beta of the second version of MSBuild Sidekick.  This version adds some unique features, including visualizing the build targets.  If you’ve ever had to pick up someone else’s msbuild project files, you’ll really appreciate this feature. Here’s a screenshot of the target visualization from Visualization in MSBuild Sidekick v2. You…


How would you prioritize features for MSBuild?

Dan Moseley, a developer on the MSBuild team, wants to know how you would prioritize features for the next version of MSBuild by asking, How would you spend $100 on MSBuild?  The release of Visual Studio 2008 is imminent, which means the product teams are beginning to work on the future, and he posts about…


New home for the AssemblyInfo task

The AssemblyInfo task has a new home, because the CodeGallery portion of GoDotNet is being phased out.  You can now find it here in the GotDotNet User Samples. The AssemblyInfo task is useful for updating assembly version numbers as part of your build.  Aaron Hallberg explains how to use it with Team Build in his post,…


SDC MSBuild tasks library is now on CodePlex (moved from GotDotNet)

Last August, I posted a set of links to sites with MSBuild tasks for all sorts of things you might need to run your build.  The SDC Tasks Library, which was part of Microsoft Services (UK) Enterprise Solutions Build Framework (SBF) on the GotDotNet, is now on CodePlex. SDC Tasks Library Project DescriptionThis is the latest version of…


How to deal with the Y2K7 problem — file versions and AssemblyInfoTask

If you use the AssemblyInfoTask to stamp the version numbers for your assemblies that you build with MSBuild as part of your Team Build process, you may run into the “Y2K7″ problem.  The version number is stored as a 16-bit (yes, 16 not 32) unsigned integer.  With the format YMMDD, January 1, 2007 becomes 70101,…


Building software against different versions of .NET with MSBuild in Orcas

Faisal Mohamood, a program manager on the MSBuild team, has written a pair of posts about the “multi-targeting” feature in the Orcas version of MSBuild.  Multi-targeting allows you to build your code against the .NET 2.0, 3.0, or 3.5 frameworks, according to your requirements.  This is great because it allows folks to have some projects…


Links to MSBuild tasks to extend your build system

Build systems need to do all sorts of things, from updating web sites to deploying databases.  Often, the tasks needed to do these things are available, but finding them can be a challenge.  I’ve collected links to various MSBuild task collections that you can plug into your Team Build scripts.  Hopefully, you’ll find something that…


MSBuild wiki

In addition to the MSBuild documentation on MSDN and the MSBuild team blog, there is an MSBuild wiki on Channel9.  I had seen it before, but forgotten about it until I saw it mentioned in one of Chris Sells’ old blog posts (My First MsBuild Task). Here’s the current table of contents for the wiki. Frequently…