Click here to Skip to main content
11,928,786 members (46,041 online)
Rate this:
Please Sign up or sign in to vote.
See more: .NET .NET4.5
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
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
Web04 | 2.8.151126.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