I am writing a T4 script which reflects over certain classes and provides code generation based on them. The problem is that my script errors out, saying that the classes in my
I believe this is what Nicko and uosɐſ are looking for. Just change the "MyAssembly.CodeGeneration" to the name of the project with the T4 templates.
<#@ assembly name="$(TargetPath)MyAssembly.dll" #> <#@ import namespace="MyAssembly.CodeGeneration" #>