Entity Developer 5.7.397
Windows 7 x64
Visual Studio 2013
In the documentation for the template language, it lists the following directive:
<#@ assembly name="System.Data" #>
In my solution, I have this organization:
Solution
DataAccess project
...edml files, templates, views
Extensions project
...some classes I want to add to template
Other projects
....
Is there a way to use relative paths for the @ assembly directive? I tried several variations, but could not get them to work.
I wanted something like:
<#@ assembly name="..\Extensions\bin\debug\Extensions.dll"#>
Or even better, one where I don't have to specify whether it's release or debug build.
In the meantime, I'm just copying the Extensions.dll to c:\Temp and referencing it there in the template.
<#@ assembly name="C:\Temp\Extensions.dll"#>
Question on the assembly directive in templates
-
- Posts: 30
- Joined: Mon 27 Jan 2014 21:08
Re: Question on the assembly directive in templates
Currently, it is possible to:
- specify the full path to the assembly;
- specify the name of the assembly, if it is available in the GAC.
We will consider the possibility of using relative paths in such scenarios and inform you about the results as soon as possible.
- specify the full path to the assembly;
- specify the name of the assembly, if it is available in the GAC.
We will consider the possibility of using relative paths in such scenarios and inform you about the results as soon as possible.
Re: Question on the assembly directive in templates
The possibility to use relative paths to assemblies in code generation templates is implemented.
New build of Entity Developer 5.7.422 is available for download!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=30168.
New build of Entity Developer 5.7.422 is available for download!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=30168.