Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

T4 template generation on build server fails

$
0
0

Hi all,

We've recently changed our build server and the T4 MSBuild now seems to fail.

I'm out of ideas, here is the log:

(ExecuteTransformations target) ->  ...\Microsoft.TextTemplating.targets(396,5):

error : An Exception was thrown while processing the template. 
The following Exception was thrown:
System.Runtime.Serialization.SerializationException: Type is not resolved for member 'Microsoft.VisualStudio.TextTemplating.AssemblyResolver,Microsoft.VisualStudio.TextTemplating.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at System.AppDomain.add_AssemblyResolve(ResolveEventHandler value)
at Microsoft.VisualStudio.TextTemplating.Engine.CompileAndRunCode(String generatorCode, ITextTemplatingEngineHost host, TemplateProcessingSession session)
at Microsoft.VisualStudio.TextTemplating.Engine.ProcessTemplateImplementation(TemplateProcessingSession session, String content, ITextTemplatingEngineHost host, String className, String classNamespace)
Line=-1, Column=-1 There was a problem getting an AppDomain to run the transformation from the host. The process cannot continue.

 

Any ideas ?

Thanks


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>