Vagif Abilov
Vagif Abilov

Reputation: 9991

Unable to run T4 text transformation on a build server

We have a build server without Visual Studio 2013 installed, but we installed MSBuild tools and VS SDK that include all necessary T4 transformations files (dlls and targets). But still when I try to build the project that contains transformations on the build server I get the following error:

"...TextTemplating\v12.0\Microsoft.TextTemplating.targets(396,5): error : There was a problem getting an AppDomain to run the transformation from the host. The process cannot continue. . Line=-1, Column=-1"

Everything works fine locally. I copied everything that I believe MSBuild needs to run the build. Last resort is to install Visual Studio on the build server but I don't want to do this, would like to keep the setup light.

Upvotes: 4

Views: 680

Answers (1)

Vagif Abilov
Vagif Abilov

Reputation: 9991

After hours of sweating and swearing I ended up installing VS 2013 on the build server, and this solved the problem. Not the way I wanted it to be, but at least and at last it works.

Upvotes: 1

Related Questions