Problem with referencing assemblies in custom template
Posted: Wed 22 May 2013 11:03
Hi
I am using dotConnect for SQLite and I'm working on a custom template for my Devart Entity Model. The problem is that I when I try to include one of my own assemblies (not from GAC) (like <#@ assembly name="C:\test" #>) i get the following error:
Custom tool error: Could not load file or assembly 'test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Could not find the file specified.
This should not be the problem with the referenced project's dependencies as it references only System. assemblies.
I'm using Visual Studio 2012, my project is in .NET 4.0 as well as the referenced assembly. Is there any way to use my own classes in the template?
Thanks in advance
I am using dotConnect for SQLite and I'm working on a custom template for my Devart Entity Model. The problem is that I when I try to include one of my own assemblies (not from GAC) (like <#@ assembly name="C:\test" #>) i get the following error:
Custom tool error: Could not load file or assembly 'test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Could not find the file specified.
This should not be the problem with the referenced project's dependencies as it references only System. assemblies.
I'm using Visual Studio 2012, my project is in .NET 4.0 as well as the referenced assembly. Is there any way to use my own classes in the template?
Thanks in advance