MSBuild Team Blog

"Coding ... the boring bit between builds"

  • MSBuild Team Blog

    Second edition of the MSBuild and Team Foundation Build book released

    • 3 Comments
    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 coverage of building C++ with MSBuild...
  • MSBuild Team Blog

    Incorrect solution build ordering when using MSBuild.exe

    • 5 Comments
    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 wrong. Here's a full description of what's going...
  • MSBuild Team Blog

    MSBuild Known Issues

    • 1 Comments
    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 particular cases where a crash can occur. We’ve...
  • MSBuild Team Blog

    Debugging MSBuild script with Visual Studio (3)

    • 3 Comments
    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 variations. Note that this blog is rather narrow...
  • MSBuild Team Blog

    Debugging MSBuild script with Visual Studio (2)

    • 2 Comments
    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 debugging into the actual build of that project. Note...
  • MSBuild Team Blog

    Debugging MSBuild script with Visual Studio

    • 7 Comments
    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 more, it makes sense. In our team we've become so proficient...
  • MSBuild Team Blog

    Better Parallelism in MSBuild 4 with YieldDuringToolExecution

    • 2 Comments
    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 changes to the way your build process in authored...
  • MSBuild Team Blog

    Assembly Resolution in MSBuild and Visual Studio Series Introduction

    • 3 Comments
    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 happens It can be frustrating to try and figure out why...
  • MSBuild Team Blog

    Building on Cross targeting scenarios and 64-bit MSBuild

    • 4 Comments
    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) to a build using 64-bit MSBuild. In most cases, 64...
  • MSBuild Team Blog

    MSBuild Property Functions (2)

    • 0 Comments
    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 [MSBuild] functions, like the one above, are in the MSDN...
  • MSBuild Team Blog

    A brief MSBuild Blog Note

    • 0 Comments
    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 The Visual Studio Blog have now been posted here...
  • MSBuild Team Blog

    MSBuild Property Functions

    • 6 Comments
    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 tiresome to do for such a simple operation. What's more...
  • MSBuild Team Blog

    Displaying Target Output Items Using The Console Logger

    • 2 Comments
    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 requested addition to these items and properties was the...
  • MSBuild Team Blog

    Tuning C++ build parallelism in VS2010

    • 0 Comments
    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 you can configure. What are the dials I can set...
  • MSBuild Team Blog

    MSBuild 4 Detailed Build Summary

    • 0 Comments
    Introduction When 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 verbosity and with the performance summary enabled...
  • MSBuild Team Blog

    Getting Started with MSBuild

    • 0 Comments
    I have had several customers asking me about MSBuild and how to get started learning the language and using it. A little over a year and a half ago, I joined the MSBuild team. When I got here, I did not even know what MSBuild was, and I have been a Visual...
  • MSBuild Team Blog

    MSBuild Task Factories: guest starring Windows Powershell

    • 0 Comments
    One of the cool new features of MSBuild 4.0 is the extensible task factory. Task factories allow you to include scripts directly in your project file (or an imported .targets file) and have those scripts parsed and executed by your favorite interpreter...
  • MSBuild Team Blog

    Build Extensibility with .NET Framework 4

    • 0 Comments
    Introduction With the release of .NET Framework 4 and Visual Studio 2010 comes MSBuild 4.0. Among the many great features in this version are new mechanisms to allow you (or your build lab) to extend the default build targets files with your own customizations...
  • MSBuild Team Blog

    If your build fails with “MSB6002: The command-line for the “ResGen” task is too long”

    • 1 Comments
    If you have the RC build of VS2010, you are targeting the 3.5, 3.0, or 2.0 Framework, you have a VB or C# project which has a lot of references, and you also have a lot of .resx files, your build may break with an error message like this D:\Windows...
  • MSBuild Team Blog

    MSBuild Interview on CodeCast

    • 0 Comments
    I had the distinct pleasure to meet up with Ken Levy and talk about MSBuild. Ken is responsible for the CodeCast interviews at code magazine . The interview consists of an in-depth technical and scenario discussion on how and why to use MSBuild, both...
  • MSBuild Team Blog

    The MSBuild Team Blog Is Moving!

    • 2 Comments
    We aren’t going away -- we’re just moving to a better home. To give you even more news, articles, and walkthroughs on Visual Studio, the MSBuild Team blog is moving to become part of The Visual Studio Blog . As part of The Visual Studio Blog , we’ll be...
  • MSBuild Team Blog

    Inline Tasks CTP Walkthrough Update

    • 1 Comments
    Well the CTP is now out, and I hope all are enjoying a preview of the new features being released in Visual Studio 2010. Of particular interest is the walkthrough " How to Create an Inline Task ". In this walkthrough, " How to Create an Inline...
  • MSBuild Team Blog

    MSBuild Extensions Pack releases to web

    • 2 Comments
    I am very happy to pass on news from Mike Fourie that has released v1 of a remarkably extensive MSBuild Extensions Pack on codeplex. In his words: The MSBuild Extension Pack is the successor to the FreeToDev MSBuild Tasks Suite and provides a collection...
  • MSBuild Team Blog

    Microsoft Source Analysis releases to web

    • 4 Comments
    Six months ago, the developers on MSBuild began to use an internal tool then called "StyleCop" in order to clean up our source code going forward. Think of it as a little like "FXCop" for your C# style. It flags as build warnings all kinds of deviations...
  • MSBuild Team Blog

    What's up with xxx.sln.cache?

    • 0 Comments
    We have an infrastructure in developer division for performance measurement. Before a feature crew integrates into their product unit branch, or a product unit does one of their periodic integrations of changes into a main branch, they must pass RPS ...
Page 1 of 7 (155 items) 12345»