Problem with referencing assemblies in custom template

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
kra
Posts: 2
Joined: Wed 22 May 2013 10:40

Problem with referencing assemblies in custom template

Post by kra » 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

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: Problem with referencing assemblies in custom template

Post by Shalex » Fri 24 May 2013 16:29

We have reproduced the problem. We will investigate it and notify you about the result.

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: Problem with referencing assemblies in custom template

Post by Shalex » Wed 29 May 2013 09:31

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.

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: Problem with referencing assemblies in custom template

Post by Shalex » Thu 30 May 2013 15:45

Please try the latest (5.5.115) build of Entity Developer.

kra
Posts: 2
Joined: Wed 22 May 2013 10:40

Re: Problem with referencing assemblies in custom template

Post by kra » Fri 31 May 2013 11:23

Thank you very much!

Post Reply