Page 1 of 1

Problem with referencing assemblies in custom template

Posted: Wed 22 May 2013 11:03
by kra
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

Re: Problem with referencing assemblies in custom template

Posted: Fri 24 May 2013 16:29
by Shalex
We have reproduced the problem. We will investigate it and notify you about the result.

Re: Problem with referencing assemblies in custom template

Posted: Wed 29 May 2013 09:31
by Shalex
The bug with referencing a custom assembly in T4 template is fixed. We will notify you when the corresponding build of Entity Developer is available for download.

Re: Problem with referencing assemblies in custom template

Posted: Thu 30 May 2013 15:45
by Shalex
Please try the latest (5.5.115) build of Entity Developer.

Re: Problem with referencing assemblies in custom template

Posted: Fri 31 May 2013 11:23
by kra
Thank you very much!