 Rank: Newbie
Groups: Member
Joined: 6/7/2018(UTC) Posts: 3 ![Australia Australia]() Location: Peth
|
Hi,
I've a Code Generation project in a solution and I'm using T4 templates to generate code with the help of the TemplateFileManager (2.1). One of the problems I've run into is that if the project in question, in my case a standard ASP.NET Web API project has multiple folders with the same name in it, I can't target the folder correctly, as TemplateFileManager just puts the files in the first folder it finds, which is not the correct folder.
i.e. API |-App_Data |-App_Start |-Areas |-HelpPage |-Controllers <-- This is where the generated files are ending up. |-Content |-Controllers <-- This is where they should be. |-fonts |-Models ...
Anyone have any idea how I can target the main Controllers folder? I don't at this point know if I can rename the folder or not.
Thanks
|
|
|
|
 Rank: Newbie
Groups: Member
Joined: 6/7/2018(UTC) Posts: 3 ![Australia Australia]() Location: Peth
|
FYI: I renamed the HelpPage/Controllers folder without detriment to the project, so this is one solution.
|
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.