MSBuild 4 Detailed Build Summary
IntroductionWhen we were developing the current version of MSBuild, we spent a lot of time analyzing builds to determine where our performance issues lay. The standard logging, even on diagnostic...
View ArticleTuning C++ build parallelism in VS2010
A great way to get fast builds on a multiprocessor computer is to take advantage of as much parallelism in your build as possible. If you have C++ projects, there’s two different kinds of parallelism...
View ArticleDisplaying Target Output Items Using The Console Logger
In previous versions of MSBuild users could see the initial item and property values of projects in the build, this was useful to diagnose what values certain properties and items were set to. A...
View ArticleMSBuild Property Functions
Have you ever wanted to do something simple in a build, like get a substring of a property value, and found that MSBuild didn't have syntax for it? You then had to write a task for it, which was...
View ArticleA brief MSBuild Blog Note
Following extensive feedback on the decision to move the MSBuild blog to The Visual Studio Blog, a decision has been made to cross-post all MSBuild blog posts to this blog.All current MSBuild posts to...
View ArticleMSBuild Property Functions (2)
Some more information about this 4.0 feature. (I’ve also updated the first post with this, so everything’s in one place for your reference.) Built-in MSBuild functions The full list of built-in...
View ArticleBuilding on Cross targeting scenarios and 64-bit MSBuild
During the Visual Studio 2010 development cycle a push to make the build experience better on Cross compilation scenarios as well on making sure a build using 32-bit MSBuild was identical (in outputs)...
View ArticleAssembly Resolution in MSBuild and Visual Studio Series Introduction
Assembly references are an integral part of build process. When the assembly references passed to the compiler are correct everything works but when they are not projects stop building. When this...
View ArticleBetter Parallelism in MSBuild 4 with YieldDuringToolExecution
Introduction In MSBuild 4 we introduced several performance improvements, particular for large interdependent builds. By and large they are automatic and you receive their benefit without making any...
View ArticleDebugging MSBuild script with Visual Studio
Back when we started 4.0 development, I polled readers of the MSBuild blog to find out what features were most important to them. Debugging was #1 which was very surprising to us. Thinking about it...
View ArticleDebugging MSBuild script with Visual Studio (2)
In my previous post, I showed how to enable the hidden Visual Studio debugger for MSBuild script, and demonstrated it by stepping through the evaluation of a C# project. In this post, I’ll keep...
View ArticleDebugging MSBuild script with Visual Studio (3)
In my last two posts (here and here) I showed how to enable the unsupported MSBuild debugger to debug a build started on the command line with MSBuild.exe. In this final post, I’ll mention some other...
View ArticleMSBuild Known Issues
Since the release of Visual Studio 2010 we have received a few reports of crashing behavior which can be traced back to issues with MSBuild. We’ve analyzed all of these and there are several...
View ArticleIncorrect solution build ordering when using MSBuild.exe
We’ve had a few reports of cases where Visual Studio, and previous versions of MSBuild, will build the projects in the solution in the correct order, but the 4.0 version of MSBuild.exe gets the order...
View ArticleSecond edition of the MSBuild and Team Foundation Build book released
Not many books that are reviewed like this on Amazon: Now the heavily augmented second edition has just come out, written by several people at Microsoft and reviewed by the product team. New extensive...
View Article