Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET4.5
HI,
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 21:39pm
Edited 20-Jun-13 0:30am
v3
Comments
CHill60 at 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 at 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
0 OriginalGriff 325
1 DamithSL 300
2 Sergey Alexandrovich Kryukov 289
3 CPallini 235
4 Maciej Los 215
0 OriginalGriff 5,455
1 DamithSL 4,422
2 Maciej Los 3,860
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,010


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 20 Jun 2013
Copyright © CodeProject, 1999-2014
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