Click here to Skip to main content
13,046,176 members (58,683 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I was trying to update my VS2010 project into vs2012.But i am getting an exception while processing the t4 template .Following is the code

ITextTemplatingEngine engine = new Engine();
string content = engine.ProcessTemplate(templateCode, host);

I am getting a texttemplating exception and i am using the DLL Microsoft.VisualStudio.Texttemplating.10.dll

Any Suggestions Will be helpful
Posted 19-Jun-13 20:39pm
Updated 19-Jun-13 23:30pm
CHill60 22-Jun-13 11:48am
It would help if you posted the wording of the exception - it often gives a clue to not only the problem but a solution too
kkbharath90 24-Jun-13 5:27am
"The type 'Microsoft.Practices.RecipeFramework.VisualStudio.Library.Templates.PropertiesDirectiveProcessor' of the directive processor named 'PropertyProcessor' does not derive from Microsoft.VisualStudio.TextTemplating.DirectiveProcessor. The transformation will not be run."

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 20 Jun 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100