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 Maciej Los 199
1 Sergey Alexandrovich Kryukov 154
2 Sascha Lefévre 120
3 Abhinav S 104
4 Rana Waqas 78
0 Sergey Alexandrovich Kryukov 6,628
1 OriginalGriff 6,298
2 Peter Leow 2,534
3 Maciej Los 2,437
4 Abhinav S 2,378


Advertise | Privacy | Mobile
Web04 | 2.8.150414.1 | Last Updated 20 Jun 2013
Copyright © CodeProject, 1999-2015
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