T4 template adding assembly of existing project in solution

后端 未结 4 711
孤独总比滥情好
孤独总比滥情好 2021-02-02 06:03

Hi I need to add the assembly of an an existing project in my solution in my T4 Template file. The problem is that my T4 template is in a project called Project.WebApi and the c

4条回答
  •  面向向阳花
    2021-02-02 06:52

    Just in case you are using C# use a double slash \\.

    I think it would be like:

    <#@ assembly name="$(SolutionDir)Project.Common.WebApi\\bin\\Debug\\Project.Common.WebApi.dll" #>
    

提交回复
热议问题