Using MSBuild properties in T4 templates

The Problem Text Templates in VS are cool, but they have some rough edges. One in particular is getting at project properties from your templates. One of the biggest problems is that the generator for the project build and the generator that runs inside VS are different. The project build generator will allow you to…

0

VS Background Builds

Two MSBuild related things that I keep losing track of every few years that are incredibly hard to discover. Logging Background Builds Visual Studio does a number of background (or “Design Time”) builds on your behalf. They don’t log anywhere by default. If you want to look at what is going on you need to “set TRACEDESIGNTIME=true”…

0

Creating a SSCLI C# Template for Visual Studio

In my last post (MSBuild your SSCLI C# projects) I demonstrated how to create an MSBuild targets file for the SSCLI (Rotor).   In this post I’ll show you how to make it easier to use Visual Studio to develop SSCLI C# projects. To build successfully in VS you need to do a few things, notably: Override…

0

MSBuild your SSCLI C# projects

[ Edit 22 Feb 2008: The complete SSCLI.CSharp.targets file can be found here. ] In my last post I got SSCLI compiling with the 2008 C++ compiler (SSCLI 2.0 and Visual Studio 2008).  (A side note: since it is clearly possible to build SSCLI with the compiler there is no reason you shouldn’t be able to get a VS Solution up and running that…

3