Sign In
MSBuild Team Blog
"Coding ... the boring bit between builds"
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Agile Development
announcements
AssemblyVersionInfo
bugs
Chris Mann
Chuck England
cliff hudson
CTP
Dan Moseley
Debugging
Faisal Mohamood
Futures
How To
Jay Shrestha
Jeffery Callahan
Known Issues
msbuild
MSBuild in Visual Studio
multiproc
Neil Enns
object model
Performance
Sumedh Kanetkar
Tools
Visual Studio 2010
Archive
Archives
January 2011
(1)
December 2010
(1)
July 2010
(4)
June 2010
(1)
May 2010
(3)
April 2010
(2)
March 2010
(3)
February 2010
(4)
January 2010
(1)
November 2009
(1)
November 2008
(1)
October 2008
(1)
May 2008
(1)
February 2008
(1)
January 2008
(1)
December 2007
(1)
November 2007
(4)
October 2007
(4)
July 2007
(2)
May 2007
(1)
April 2007
(6)
January 2007
(2)
December 2006
(1)
November 2006
(3)
October 2006
(1)
July 2006
(1)
June 2006
(2)
May 2006
(4)
March 2006
(9)
February 2006
(6)
January 2006
(16)
December 2005
(5)
November 2005
(26)
October 2005
(24)
September 2005
(11)
November, 2005
MSDN Blogs
>
MSBuild Team Blog
>
November, 2005
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
MSBuild Team Blog
How To: Specify Long Command Lines to MSBuild
Posted
over 7 years ago
by
Michael Fourie
10
Comments
Sometimes when using MSBuild.exe the command lines can get pretty darn long and hard to manage. This is particularly true if you're using a custom logger that takes parameters. I also ran into some trouble when I was trying to pass an escaped string to...
MSBuild Team Blog
Sprint 10 Backlog Items
Posted
over 7 years ago
by
Michael Fourie
0
Comments
My bad for not getting this up sooner. We've actually been going on Sprint 10 for the last two weeks. As with Sprint 9 we've split it into one sprint for platform work and one for dogfood work. We've made a shift in our platform work for Sprint 10...
MSBuild Team Blog
How To: Perform Nightly Builds with Team Foundation Server
Posted
over 7 years ago
by
Michael Fourie
5
Comments
Edit: Ok, after talking with Khushboo and given Niels's comment, it's clear that the article I linked to is woefully out of date. Please ignore this post. If you want to perform nightly builds with Team Foundation Server, tfsbuild.exe is the tool to use...
MSBuild Team Blog
How To: Insert Custom Process at Specific Points During Build
Posted
over 7 years ago
by
Michael Fourie
6
Comments
Today Kieran, Faisal, and I met with one of our partners to give them an introduction to MSBuild. During the discussion one of them asked us about the different places someone can plug into the standard Visual Studio build process (as defined by the Microsoft...
MSBuild Team Blog
MSBuild in Visual Studio Part 13: The Three Custom Loggers
Posted
over 7 years ago
by
Michael Fourie
3
Comments
We’re written in the past about how to write custom loggers , and you probably won’t be surprised to learn that Visual Studio makes use of custom loggers when interacting with MSBuild. There are three separate loggers, each with its own purpose. The...
MSBuild Team Blog
MSBuild in Visual Studio Part 12: Compiling Inside Visual Studio
Posted
over 7 years ago
by
Michael Fourie
7
Comments
We’ve touched briefly on how the Compile target is used by Visual Studio, but only on how it relates to Intellisense. Of course while Intellisense is nice, most people would like to actually compile a complete application using Visual Studio. If you’re...
MSBuild Team Blog
How To: Conditionally Apply Metadata to Items
Posted
over 7 years ago
by
Michael Fourie
0
Comments
Last week we got a great question over on our forum about applying metadata to items depending on a condition. What the author wanted to was something like this: <ItemGroup> <Compile Include="MyClass.boo"> <DefineConstants Condition...
MSBuild Team Blog
MSBuild in Visual Studio Part 11: Other Special Targets
Posted
over 7 years ago
by
Michael Fourie
2
Comments
The last two entries walked through how the Compile target is used by the IDE to drive certain features. There are a number of other targets that get called at various times. Several targets exist to help compute project output groups, which are sets...
MSBuild Team Blog
MSBuild in Visual Studio Part 10: What Does MSBuild Have To Do With Intellisense?
Posted
over 7 years ago
by
Michael Fourie
2
Comments
In our last post we started to dig into how the Compile target is used by Visual Studio at design time, and the details around the in-process compiler. When Rajeev was talking about the in-process vs. out-of-process compiler during the talk I must admit...
MSBuild Team Blog
A Pretty Picture of Our Project Dependencies
Posted
over 7 years ago
by
Michael Fourie
8
Comments
As you may have noticed from our recent posts on build parallelization, we're thinking a lot lately about project dependencies. One thing I've always wanted is a tool that let me visually look at the project-to-project references that make up my application...
MSBuild Team Blog
How To: Update Assembly Version Numbers with MSBuild
Posted
over 7 years ago
by
Michael Fourie
61
Comments
UPDATE: For information on the "Y7K" or "2007" issue, see our new blog entry . One of our most frequently asked questions is: "How do update my assembly version numbers at build time?". Unfortunately our answer has been "you can't". Until today, that...
MSBuild Team Blog
Sprint 9 Review
Posted
over 7 years ago
by
Michael Fourie
415
Comments
It’s been about a month since we last talked about Sprint 9, and it’s time for an update. If you recall, the MSBuild team was planning on two parallel sprints: one for platform investigations and one to support internal dogfooding efforts . Last Friday...
MSBuild Team Blog
How To: Wrap Custom Targets Around a Solution Build
Posted
over 7 years ago
by
Michael Fourie
212
Comments
We got the following question on the msbuild@microsoft.com alias last week: I'm migrating from VS2003/NAnt to VS2005/MSBuild for my build solution, and want to create a custom project that does the following: Pre-build actions Sync my source...
MSBuild Team Blog
MSBuild in Visual Studio Part 9: Compiling at Design-Time Using the In-Process Compiler
Posted
over 7 years ago
by
Michael Fourie
0
Comments
All the posts so far in our series have talked about reading from and writing to project files. I hope you’ve found all that interesting, but today we’re going to shift gears a bit and start to talk about how Visual Studio leverages MSBuild during design...
MSBuild Team Blog
Parallelizing Visual Studio solutions
Posted
over 7 years ago
by
Michael Fourie
4
Comments
One of the MSBuild Team’s scenarios for multi-proc builds is the automatic parallelization of Visual Studio solutions. For this scenario, we want Visual Studio to automatically parallelize all “independent” projects, and serialize all “dependent” ones...
MSBuild Team Blog
MSBuild support for targeting the .NET FX 1.1 runtime
Posted
over 7 years ago
by
Michael Fourie
274
Comments
Being able to target .NET 1.1 has been by far the most popular request that we have heard from our customers - and I am very pleased to say that it is finally coming! Craig Lichtenstein is working on enabling this important scenario, and has blogged about...
MSBuild Team Blog
Restrictions on the Exclude attribute in an item tag
Posted
over 7 years ago
by
Michael Fourie
11
Comments
An item exclude only works with the corresponding include on the same actual item tag-- in other words, if the exclude occurs in a later item tag of the same type, it will not affect any files previously included. For example: suppose you have files...
MSBuild Team Blog
MSBuild in Visual Studio Part 8: Writing Items To the Project File
Posted
over 7 years ago
by
Michael Fourie
0
Comments
Reading items from the project file, as we discussed in our last post , is quite straightforward and doesn’t have much in the way of interesting gotchas. Have no fear! We’ll make up for that with all the gotchas around writing items back. The first...
MSBuild Team Blog
How To: Customizing Project File Intellisense in Visual Studio
Posted
over 7 years ago
by
Michael Fourie
3
Comments
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)...
MSBuild Team Blog
How To: Recursively Copy Files Using the <Copy> Task
Posted
over 7 years ago
by
Michael Fourie
31
Comments
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...
MSBuild Team Blog
Channel 9 Video of the Team Build Team
Posted
over 7 years ago
by
Michael Fourie
0
Comments
We've mentioned Team Build a couple of times here in the past, and I discovered they have a video up at Channel 9 . If you skip forward to about the 16 minute mark you'll get to see a demo of Team Build. It's very slick, and includes the ability to run...
MSBuild Team Blog
Where is the MSBuild schema file?
Posted
over 7 years ago
by
Michael Fourie
2
Comments
Every so often we get asked where the schema file is for the MSBuild XML. People (correctly) assume we have one since it is referenced as a namespace in every project file. Our schema is installed in \windows\Microsoft.NET\framework\v2.0.50727\Microsoft...
MSBuild Team Blog
How To: Escape the Percent Sign in MSBuild
Posted
over 7 years ago
by
Michael Fourie
0
Comments
This is actually somewhat amusing, especially considering our recent set of posts on escaping properties and items. We got a question over on our forums today that amounted to "how do I escape the percent sign in an item include"? All escaping in MSBuild...
MSBuild Team Blog
MSBuild in Visual Studio Part 7: Reading Items From the Project File
Posted
over 7 years ago
by
Michael Fourie
1
Comments
I don’t know about everyone else, but I’m pretty sick of escaping and properties [:)] It’s time to move on to the other major way the project system leverages MSBuild, and that’s the wonderful world of items. After all, without items there’d be no way...
MSBuild Team Blog
TeamBuild Properties and Targets
Posted
over 7 years ago
by
Michael Fourie
0
Comments
One of the neat things about MSBuild is how it can be customized by other people. The Team Build group, which created the Team Build functionality in Visual Studio Team System, went and extended MSBuild with custom targets and properties specifically...
Page 1 of 2 (26 items)
1
2