I am having trouble creating a T4 template that can be used to generate a relatively simple C# code both from Visual Studio and from MSBUild. The template references a DLL, which resides in the output path of the project. Apart from that, it is a fairly simple template that loops through a collection of domain objects and outputs a test method for each of them.I am having trouble creating a T4 template that