I have a website project in Visual Studio, and I'm trying to reference some assemblies from the bin directory on the site.
So far, the path with the roots has been the only one:
<#@ Assembly Name="C:\Code\Web Solution\Website\bin\My.dll" />
Other people mentioned using msbuild variables, but this does not work for me:
<#@ Assembly Name="$(SolutionDir)Website\bin\My.dll" />
and I'm sure relative paths just don't work (my tt file is in a subfolder in App_Code):
<#@ Assembly Name="..\..\bin\My.dll" />
Without using the root path, is there a way to make this work in the context of a website project?
c # visual-studio-2010 t4
John bubriski
source share