|
|
1
25
从VS2010开始,您可以在引用中使用VS宏变量,例如$(SolutionDir) 例如
|
|
|
3
0
@GarethJ给出了一个很好的答案,但是对于从T4模板引用程序集的所有方法,请尝试以下方法: T4 Template error - Assembly Directive cannot locate referenced assembly in Visual Studio 2010 project 如果你喜欢VS宏解决方案,你可以在这里找到它们: Macros for Build Commands and Properties |