Using project references as assembly paths in T4
问题 I have a .tt script that needs to reference a couple of external assemblies. Is it possible for the T4 host to automatically include the assemblies referenced in the project - rather than me manually adding an assembly directive for each one? E.g. Referencing an assembly from a nuget is a moving target when using a path relative to $(ProjecDir) . Using assembly paths like $(Project)\bin\Debug\Example.dll also seems less than optimal - as it requires the build to have been successful