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
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)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
MSBuild Team Blog
How To: Write a custom logger for MSBuild
Posted
over 8 years ago
by
Michael Fourie
732
Comments
This question came across the internal conversion alias this morning: Is there a way to send errors to STDERROR? This simple little question provides a nice lead-in to a blog entry about custom loggers, so here we go :) Whenever something...
MSBuild Team Blog
MSBuild support for targeting the .NET FX 1.1 runtime
Posted
over 8 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
How To: Implementing Custom Tasks - Part I
Posted
over 7 years ago
by
Michael Fourie
53
Comments
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...
MSBuild Team Blog
How To: Update Assembly Version Numbers with MSBuild
Posted
over 8 years ago
by
Michael Fourie
62
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
How To: Recursively Copy Files Using the <Copy> Task
Posted
over 8 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
Sprint 9 Review
Posted
over 8 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 8 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
Response to the feature poll
Posted
over 6 years ago
by
Michael Fourie
32
Comments
There were over 80 responses to my recent post asking for feedback on where MSBuild should be heading (if the graph doesn't appear, it's here ). Thank you all for your thoughtful allocations! Let's go through each one in decreasing order of ...
MSBuild Team Blog
New Reference Assemblies Location
Posted
over 6 years ago
by
Michael Fourie
13
Comments
Those of you who've been using the 3.0 Framework may have noticed a folder under Program Files called "Reference Assemblies". This folder contains those assemblies that ship with the 3.0 Framework which are useful for referencing during the design and...
MSBuild Team Blog
Multi-Targeting : How does it work?
Posted
over 7 years ago
by
Michael Fourie
15
Comments
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...
MSBuild Team Blog
How To: Add a custom build action to Visual Studio
Posted
over 8 years ago
by
Michael Fourie
15
Comments
So far on this blog we’ve shown different ways can use MSBuild to tweak behavior from the command line, but never really talked about things you can do with MSBuild that will affect the Visual Studio user interface. Since managed projects in Visual Studio...
MSBuild Team Blog
How To: Exclude Multiple Files From a Wildcard
Posted
over 7 years ago
by
Michael Fourie
17
Comments
We got the following question on our internal conversion discussion alias today: Is there a way to exclude two or more items from an ItemGroup using the “exclude” attribute without using a wildcard? It turns out the way to do this wasn't clear...
MSBuild Team Blog
Building projects in parallel
Posted
over 6 years ago
by
Michael Fourie
20
Comments
Greetings MSBuilders! Orcas MSBuild introduces a new feature allowing build authors to build projects in parallel. To enable this feature we have introduced a new parameter to the MSBuild task called “BuildInParallel” and a new command line parameter...
MSBuild Team Blog
Sprint 9 Backlog: Dogfooding Sprint
Posted
over 8 years ago
by
Michael Fourie
90
Comments
Here are the tasks we selected for the Dogfooding sprint. For those who aren't familiar, our dogfooding work is all about converting all of Visual Studio's source code to build with MSBuild. Provide .targets files for building Managed C++ targets ...
MSBuild Team Blog
MSBuild / Visual Studio aware error messages and message formats
Posted
over 7 years ago
by
Michael Fourie
21
Comments
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...
MSBuild Team Blog
Fixing invalid version number problems with the AssemblyInfoTask
Posted
over 6 years ago
by
Michael Fourie
23
Comments
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...
MSBuild Team Blog
How To: Add Custom Process at Specific Points During Build (Method #2)
Posted
over 7 years ago
by
Michael Fourie
19
Comments
Back in November I wrote about a quick-and-dirty way to add custom build process into the standard Visual Studio build by overriding pre-defined targets that exist in Microsoft.Common.Targets. While this method works fine for internal build processes...
MSBuild Team Blog
Why Doesn't Delete Take Wildcards?
Posted
over 7 years ago
by
Michael Fourie
18
Comments
Here's another question from our internal conversion discussion alias that came through last week: Does the Delete task in MSBuild not use wildcards? The documentation doesn’t say anything about it but that seems to be the behavior I am seeing....
MSBuild Team Blog
How To: Debug a custom MSBuild task using Visual Studio
Posted
over 8 years ago
by
Michael Fourie
14
Comments
Yesterday I was complaining to Kieran about how hard it was to debug a custom task. When working on my AssemblyInfo task I was debugging all my regular expressions by running them in a separate command-line app, and with Log.LogMessage() calls in the...
MSBuild Team Blog
How would you spend $100 on MSBuild?
Posted
over 6 years ago
by
Michael Fourie
119
Comments
We're currently planning for our next version (aka, "Dev10" - no code name this time) and subsequent releases. In that spirit, I'd like to do a quick poll of MSBuild aficionados to help us keep our "vision" for MSBuild aligned with yours, our customers...
MSBuild Team Blog
Editing MSBuild project files in Visual Studio
Posted
over 8 years ago
by
Michael Fourie
12
Comments
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...
MSBuild Team Blog
HOW TO: Beyond PreBuild and PostBuild Steps
Posted
over 8 years ago
by
Michael Fourie
4
Comments
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...
MSBuild Team Blog
MSBuild, Orcas, and Multi-targeting
Posted
over 7 years ago
by
Michael Fourie
18
Comments
Disclaimer: Since I am talking about Orcas, and as of yet unreleased software, what follows is subject to change. So if you were curious enough to dig into what the October 2006 Orcas CTP contained, you might have seen something related to MSBuild...
MSBuild Team Blog
Cranking up the build verbosity in the IDE
Posted
over 8 years ago
by
Michael Fourie
7
Comments
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...
MSBuild Team Blog
/p property values are immutable - (sort of)....
Posted
over 7 years ago
by
Michael Fourie
6
Comments
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...
Page 1 of 7 (155 items)
1
2
3
4
5
»