Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » MSBuild   (RSS)

Programmatically Resolve Assembly Name to Full Path the Same Way MSBuild Does

Jomo Fisher—Every once in a while I find I need to turn and assembly name like “System” or “System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL” into a path to the actual file for that assembly. This
Posted by Jomo Fisher | 7 Comments
Filed under: ,

Hack the Build: Use ILMerge and MSBuild to Combine Multiple Assemblies into One

Jomo Fisher--Over the last few years I've been coding mostly in C#--before that, my day-to-day work was done in C++. I don't miss much about C++, but one of the things that I do miss is the ability to link many .LIB files into a single DLL or EXE I've
Posted by Jomo Fisher | 12 Comments
Filed under:

Update: Targetting 1.1 .NET Framework with MSBuild

A while back I post a sample that shows you how to target the 1.1 framework with MSBuild. Now, another team within Microsoft is working on turning it into a more polished add-on for VS 2005: http://blogs.msdn.com/msbuild/archive/2005/11/09/490817.aspx
Posted by Jomo Fisher | 4 Comments
Filed under:

How to plug your own C# compiler into VS 2005.

Jomo Fisher--A bunch of future C# compiler features (think 3.0 and beyond) will be on display at PDC in a couple of weeks. We wanted to ship a nice installation that lets people try out the new features of the compiler while still leaving VS 2005 working
Posted by Jomo Fisher | 4 Comments
Filed under:

Hack the Build: Use the Whole Test-First Whale

Jomo Fisher--Writing code with Test-Driven-Development (TDD) takes about 30% longer than writing code without it. This was my experience on MSBuild. Still, as I noted here and here, I’m a fan of TDD. Code quality tip #2 explains why...
Posted by Jomo Fisher | 2 Comments
Filed under: , ,

Hack the Build: An Introduction to MSBuild

Mitch Denny gives an excellent introduction to MSBuild: http://notgartner.com/posts/1573.aspx This posting is provided "AS IS" with no warranties, and confers no rights.
Posted by Jomo Fisher | 6 Comments
Filed under:

Hack the Build: Update to 1.1 targets

Jomo Fisher – Oren pointed out that the wrong resource compilation was being done in the 1.1 targets I posted. I've corrected the problem so you may want to take another snapshot of the targets files. He also pointed out that, at debug time, the FX 2.0
Posted by Jomo Fisher | 1 Comments
Filed under:

Hack the Build: Use Whidbey Beta2 to target .NET Runtime 1.1

Jomo Fisher – A while back, I posted a sample that showed how to target the .NET 1.1 runtime (the version that came with Visual Studio .NET 2003 also known as Everett) with MSBuild . Now Beta 2 has rolled around and I can see that there have been enough
Posted by Jomo Fisher | 106 Comments
Filed under:

Hack the Build: Cracking MSBuild Project Files

Jomo Fisher -- Here's how you can use the MSBuild Object Model to programmatically access the contents of a project file. This sample console application accepts a single parameter--the full path to some MSBuild project file--and displays all of the assemblies
Posted by Jomo Fisher | 5 Comments
Filed under:

Hack the Build: Hide Items from Visual Studio Solution Explorer

Jomo Fisher -- Custom MSBuild projects and targets files that you write typically have ItemGroups to contain lists of files. For example, <ItemGroup> <MyFiles Include="a.txt"/> </ItemGroup> When you fire up VS with the above code in
Posted by Jomo Fisher | 8 Comments
Filed under:

Hack the Build: Programmatically Converting Older VS .NET Projects to MSBuild

Jomo Fisher--There are plenty of reasons you might want to programmatically convert projects from VS .NET 2003 format to MSBuild format. Maybe you have a bunch of old .csproj files and you'd like to convert them in batch. Maybe you'd like to keep your
Posted by Jomo Fisher | 14 Comments
Filed under:
 
Page view tracker