MSBuild Team Blog

"Coding ... the boring bit between builds"

Browse by Tags

Tagged Content List
  • Blog Post: 7 Steps to MSBuild

    Brennan has a great post about all things MSBuild, and covers good breadth on both concepts, as well as the many things you may want to drive with MSBuild (unit testing, web deployment projects, etc). Check it out! [ Author : Faisal Mohamood ]
  • Blog Post: Multi-Targeting : How does it work?

    So in my last post , I described the multi-targeting feature at a very high level. I discussed how there will be three frameworks that you can build "for", and how there will be two toolsets - i.e. .NET Framework 2.0 / MSBuild 2.0 toolset, and the .NET Framework 3.5 / MSBuild 3.5 toolset. Recall that...
  • Blog Post: MSBuild / Visual Studio aware error messages and message formats

    MSBuild recognizes error messages and warnings that have been specially formatted by many command line tools that typically write to the console. For instance, take a look at the following error messages - they are all properly formatted to be MSBuild and Visual Studio friendly. Main.cs(17,20): warning...
  • Blog Post: /p property values are immutable - (sort of)....

    Hello there - sorry for the long absence, but we're back and hopefully I'll keep this going again. So there was a recent forum post about how property values that are specified from the command line are immutable - i.e. it is not straightforward to change them from within the project file. Well, this...
  • Blog Post: New Feature Feedback Request: /IgnoreProjectExtensions - A new command-line switch

    I've been in a cave just getting things done toward our Orcas release. But there's not much a Program Manager can do without going back to their customers :) So here I am. So here's the scoop. We've been debating internally about a new command line switch on msbuild.exe for sometime now. I am not...
  • Blog Post: How To: Implementing Custom Tasks - Part I

    While MSBuild is all about build customization,we never really blogged about what is involved in implementing custom tasks. Partly, I suppose that's because implementing a custom task is as easy as falling off a log most of the time: 1) Subclass Microsoft.Build.Utilities.Task abstract class 2) Implement...
  • Blog Post: Platform Sprint 11

    The new year got off to a good start for us with the MSBuild Platform Sprint 11 Backlog selection meeting. Platform Sprint 10 was focused mostly on getting our Compatibility story in place. All of the work from the last sprint in terms of compatibility has been checked in and is now in use. This means...
  • Blog Post: Well Known Limitation: Dynamic items and properties not emitted until target execution completes

    Sayed Ibrahim Hashimi has written about a restriction that he ran into when using CreateProperty and CreateItem tasks to dynamically emit properties and items. The issue has to do with not being able to access items and properties that are created within a target until the target execution actually completes...
  • Blog Post: MSBee CTP released

    Craig points out that the first CTP for MSBee went out early adopters last week. If you are interested, send an email to ddcpxsln@microsoft.com and get on the CTP! We look forward to your feedback as we continue to work on MSBee in the coming weeks. [ Author: Faisal Mohamood ]
  • Blog Post: How To: Customizing Project File Intellisense in Visual Studio

    So Neil pointed out that you can find the MSBuild schemas in either the .NET Framework install path, as well as the Visual Studio install location. The one in the Framework folder ships as a reference (since MSBuild really is part of the .NET redist). The one in the Visual Studio install folder \Program...
  • Blog Post: How To: Recursively Copy Files Using the <Copy> Task

    Have you ever run into a situation where you had to recursively copy files from one folder into another as a part of your build process? We certainly have run into it a few times, and I thought I'd share with you a neat trick that involves the use of metadata and the Copy task. Before you can copy...
  • Blog Post: HOW TO: Beyond PreBuild and PostBuild Steps

    Do you use PreBuild and PostBuild steps that are provided in the IDE? You will find that they are still available in Visual Studio 2005 - but from within the IDE, you only get the ability to run command line batch files / scripts. Essentially, prebuild and postbuild steps get executed using the <Exec>...
  • Blog Post: Are you new to MSBuild? Check out our Hands-On-Lab

    This MSBuild Hands-On-Lab introduces you to the fundamentals of MSBuild. It talks about the basics such as how to hand-author a simple MSBuild project file, and then builds on that to show you how to take it all the way to more advanced aspects such as incremental builds and target level dependency analysys...
  • Blog Post: PDC Session Slide Decks are Online

    The slide-decks for the two MSBuild talks we presented at the conference have been available on-line for a while now. Check them out: MSBuild - Architecting a Custom Build System by Rajeev Goel and MSBuild - Tips & Tricks by Faisal Mohamood are both available. [Author: Faisal Mohamood]
  • Blog Post: Editing MSBuild project files in Visual Studio

    Being able to edit your Visual Studio generated projects is one of the fundamental goals of MSBuild. Being able to edit your project file to customize and extend is not something that just happened to work :) MSBuild and Visual Studio 2005 were designed right from the start to enable you to do this....
  • Blog Post: Cranking up the build verbosity in the IDE

    We are often asked whether it's possible to crank up the build output verbosity when building inside the IDE....think building from the command line using msbuild /verbosity:Detailed or msbuild /v:Detailed Sure, it's possible, and we've made it dead simple to do so. All you need to do is to go into...
  • Blog Post: MSBuild Dogfooding within Developer Division

    One of the things we have been aggressively pursuing for a sometime now is the use of MSBuild within the Visual Studio build labs - i.e. using MSBuild to build the very bits of Visual Studio 2005 that you know and love and use today! Dan Moseley from the MSBuild Team has a nice write-up of our internal...
Page 1 of 1 (17 items)