Why are build numbers limited to 65535?

In my previous post I explained how to fix the issue with the default date format provided in the AssemblyVersionTask. Several people encountered the problem with the arrival of 2007, and all of them sent me mail about it 🙂 After providing them with the fix, a few people wrote back and commented (with variying degrees…


Fixing invalid version number problems with the AssemblyInfoTask

The arrival of 2007 bought a flurry of e-mails to the MSBuild team from people having trouble with the AssemblyInfoTask. The symptom is simple to describe – the builds start to fail with the following error: Error emitting ‘System.Reflection.AssemblyVersionAttribute’ attribute — ‘The version specified ‘1.0.70102.1’ is invalid The fix to get builds going again is to…


Hotfix is Now Available for Warning C4945

If you’ve been reading our forums you may have seen the long-running thread regarding warning C4945 slowing down certain types of builds. This issue was also reported through our Connect feedback center as issue 123509. I’m pleased to announce that we have a hotfix available for this problem, and that it’s now available through our…


A New Tool For Visually Editing Build Process

Eugene sent us mail today to let us know that his company has released a neato little freeware tool to visually edit MSBuild files. A quick glance at the website shows an impressive list of features for v1: Load and modify any file complying to MSBuild schema View build project structure in a tree view…

What Does This MSBuild Snippet Do?

It’s been a while since we’ve had a little quiz on MSBuild. Over the last couple of days the MSBuild team has been enjoying working up solutions to a question over in our forums. Last night Faisal and Jeff concoted some MSBuild script that, to be honest, made my head turn sideways and then inside…


MSBuild Extras – Toolkit for .NET 1.1 ships!

It’s been a little while (understatement!) since we’ve blogged something, but today we’ve got a good one for you. The MSBuild Extras – Toolkit for .NET 1.1 (a.k.a. MSBee) shipped today! You can download it at Codeplex. Enjoy! [ Author: Neil Enns ]


How To: Remove the Up-To-Date Check From the AssemblyInfoTask

Every couple of weeks I get mail from someone who is using the AssemblyInfoTask on a build machine under source control. The question typically goes like this: I added the .targets file to my project, and it works fine on my dev machine, but doesn’t do anything when I’m running it in the build lab….


Beta 2 of the MSBuild Toolkit for .NET Framework v1.1 is Out!

Craig just announced over on his blog that Beta 2 is available. New features in this release include: Support for the ResolveComReference task! Redirecting the LC task to target .NET 1.1 Defining a FX1_1 constant to let you exclude .NET 2.0 specific code Providing a BaseFX1_1OutputPath property for replacing the default ‘bin\FX1_1’ base path. Enjoy!…


What Does MSBuild Have to do With The Future of Game Development?

Today the folks in our game studios team (XNA) used the Game Developer’s Conference to roll out the first major public viewing of what they’ve been hard at work on. If you want to read about the overall technology preview they released you can look at Michael’s blog entry. If you want to see what…


How To: Bypass Post-Build Steps in a Build Lab Environment

(Can you tell I’m going through my folder of interesting MSBuild questions today?) Here’s another good question that came across our internal discussion alias last week: Is there a quick and easy way to bypass the PostBuild steps in a project file that was created with VS.NET 2005? I am trying to set up a master…