Welcome to MSDN Blogs Sign in | Join | Help

January 2006 - Posts

Answer to the Batching Brainteaser

Earlier this week I posted a little batching brainteaser from our internal team discussion list. If you have a cheesy drumroll sound on your computer now is the time to start playing it, 'cause here comes the answer: a) 0 Yep, that's right, zero. Thomas
Posted by msbuild | 1 Comments
Filed under:

You Know You've Hit The Big Time When...

... your classes show up on the .NET Framework class diagram poster. If you buy a copy of Visual Studio 2005 you get a pretty poster in the box that shows all the major classes in the .NET Framework, and MSBuild is on it! That's us under "Tools" in the
Posted by msbuild | 2 Comments
Filed under:

How To: Use the AssemblyInfoTask With ASP.NET Web Deployment Projects

About once a week we get a question from someone who wants to know how to set the assembly version information on ASP.NET projects. I spoke with Bradley, a development lead over in the ASP.NET team who worked on the Web Deployment Projects , and it turns

How To: Obtain Initial Property Values in a Logger

We got a question on our MSBuild Feedback alias today that went something like this: How do I obtain all the initial property values in the project file in my custom logger? It's not immediately obvious from our object model, but you can do this. In the
Posted by msbuild | 1 Comments
Filed under: ,

A Little Batching Brainteaser

Every so often as we work through converting the Visual Studio builds over to MSBuild we stumble across a little quirk or entertaining bit of MSBuild XML that makes the team scratch its head. Dan sent this one around to the team a couple of weeks ago,
Posted by msbuild | 13 Comments
Filed under:

Why Do We Support Unqualified Metadata?

We got the following question on the MSBuild Discussion alias last week: I’m not sure why MSBuild support the concept of unqualified metadata. Is there a particular scenario where someone would rather use the ambiguous %(metadata) syntax as opposed to
Posted by msbuild | 0 Comments
Filed under:

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
Posted by msbuild | 31 Comments
Filed under: ,

Post Summary: MSBuild in Visual Studio

For easy reference here's a list of all the MSBuild in Visual Studio posts we ran over the last couple of months. If you enjoyed this series please drop us a short note and let us know. Look for another series, this time on the internals of Microsoft.Common.Targets,

How To: Use the AssemblyInfoTask With Source Code Control

Several people have written our feedback alias with problems using the AssemblyInfoTask when the projects are under source code control. When the files are checked in the AssemblyInfo files are read-only, and the task fails with an error that the file

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

Sayed has a new MSBuild blog up!

Faisal hinted at this in his last post , but it's worth calling out on its own: Sayed Hashimi has started up a new blog with his own insights and thoughts on MSBuild. You may have seen Sayed hanging around our forum and answering questions, too. The blog
Posted by msbuild | 0 Comments
Filed under:

How To: Retrieve the AssemblyVersion using AssemblyInfoTask

We got a great question at msbuild@microsoft.com last week: What is the preferred method to retrieve the version of the assembly that was just built via MSBuild? Post build, we would like to automatically create and copy the assembly(ies) to version folder.

MSBuild in Visual Studio Part 14: Managing Project Files

One last little interesting piece of information on how Visual Studio uses MSBuild relates to the loading of project files. Each project file loaded shares the same MSBuild Engine object within Visual Studio. In addition, when we find a project-to-project

A Note on Pair Programming

Hi All - My colleague Neil Enns wanted me to drop a note about the fact that we've been experimenting with pair programming on the MSBuild team on certain tasks, and found it generally useful. I finally tried it out last week, pairing with Sumedh on a
Posted by msbuild | 0 Comments
Filed under:

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
Posted by msbuild | 8 Comments

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. [
Posted by msbuild | 0 Comments
Filed under:
 
Page view tracker