Hi,
I am trying to generate code with lpt-templates from my project. I have an exception:
Unable to cast object of type 'MyTestTemplate' to type 'SD.LLBLGen.Pro.LptParser.ITemplateClass'.
In generated source everything is ok. My MyTestTemplate class implements ITemplateClass.
The most interesting thing: if I set parameter “debugBuild” to true, everything works fine.