Custom Output File Path For T4 Template
问题 I am finding it really difficult to use t4 templates with a non-standard directory structure. I am using links inside my csproj file, which seems to be at the root of the problem. I have it working, however, VS automatically makes a change which breaks things. I've have the following directory structure: /source + MyLib.cs /generate /MyLib + MyLib.tt + MyLib.A.t4 // included by MyLib.tt + MyLib.B.t4 // included by MyLib.tt + MyLib.C.t4 // included by MyLib.tt /build_examples /vs + MyLib