Hi
I want to use custom libraryin my t4 template
|
| <#@templatelanguage="C#"#> |
|
<#@assemblyname="Custom"#> <#@ import namespace = "CustomNamespace"> |
I registered Custom.dll in GAC
Thensimply added template as .tt file in VS project
After pressing Saveit works fine, generating the output
Then i includedthis template into existing Guidance Package as
CustomTemplate.cs.t4 file
<Action Name="CustomAction" Type="TextTemplateAction" Template="CustomTemplate.cs.t4">
...
</Action>
And this action in the Guidance Package recipe runs with error:
Error: Compiling transformation: Metadata file
'Custom' could not be found So how can i provide access to my custom.dll from the template which runs from Guidance Package ?
Thank you for advance