Use VolatileAssembly directive without installing the T4 Toolbox
I'd like to use VolatileAssembly
from the T4 Toolbox but do not want to require all developers to install the T4 Toolbox.
Is it possible include the DLL with with开发者_高级运维 project in source control and reference it by path?
In Visual Studio 2010 you are able to do:
<#@ assembly name="$(ProjectDir)\external\SomeAssembly.dll"#>
Which I believe is what you are asking for.
EDIT: I understand VolatileAssembly is used to reference assemblies without locking them. This is one of the fixes for VS2010 SP1 so if your devs run VS2010 SP1 you shouldn't need VolatileAssembly anymore.
精彩评论