<# string solutionsPath = Host.ResolveAssemblyReference("$(SolutionDir)"); string projectPath = Host.ResolveAssemblyReference("$(ProjectDir)"); string a = Path.GetDirectoryName(Host.TemplateFile); #> <#=solutionsPath#> <#=projectPath#> <#=a#>
转载于:https://my.oschina.net/u/2446847/blog/2209169