Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

T4 templates assembly reference

$
0
0
Hi,

How can I add assembly reference to my T4 template but not having one in my output but from GAC or some Public assmebly FOlder?

this doesn't work ...
<#@Assembly

Name="MyUtilities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=62d75fdadbb6ec71" #>

this neither
<#@Assembly
Name="MyUtilities.dll"#>

this neither
<#@Assembly Name="MyUtilities"#>

this is some assembly that is installed along with some other package and exists iin GAC.
If I put this assembly in my Output it works but this is something I don't want to do.

all the time I got error...
Error: Compiling transformation: Metadata file 'MyUtilities.dll' could not be found (0, 0)


If I use this (and the assembly is there...):
<#@Assembly
Name="c:\temp\MyUtilities.dll"#>

Error is : Invalid assembly name c:\temp\MyUtilities

Anyone Help this is urgent..

Thanks

Ales M.

Long time no see

Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>