Regenerate the T4 template after each build on the build server without Vistual Studio

My solution file contains many projects, which consist of many template files, and I want to restore each template after or before building the project. I know how to do this locally, but I have a problem how to do this on the build server, where Visutal Studio is not installed. Do you have any solutions?

I know that these are two sources: Get Visual Studio to run the T4 template in each assembly :
a) Visual Studio Visualization and Modeling SDK - I need to install visual studio (except Express Edition), and I can not do this
b) use the TextTransform tool .exe, but then I have problems with missing dlls in the GAC

Hi

+5
source share
2 answers

With Visual Studio 2010 SP1 and the Visual Studio Visualization and Modeling SDK for Visual Studio 2010, you are licensed to copy and distribute the necessary files to convert T4 during assembly on the build server (note that only the build server, not arbitrary redistribution). You can simply copy these files from your computer using Visual Studio and the SDK.

Two specified license files: 1) buildserver.txt in the Visual Studio installation directory 2) redist.txt in the VisualStudioIntegration \ Tools \ DSLTools SDK directory.

+4
source

;)
T4 , Cheburek Visual Studio T4 .
Cheburek Visual Studio, DLL GAC, :)
1) Microsoft.VisualStudio.TextTemplating.10.0.dll
2) Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll

+2

All Articles