Hi Owen Ashcroft,
Thanks for posting here.
It`s very grateful for you finding this issue. I created a dot net project and add a T4 template on Visual Studio 2015, then open it from Visual Studio 2017. I have encountered your problem, the structure of T4 template has been destroyed, doesn't
regenerate any of our T4 template files on save. That should be a upgrade issue for Visual Studio.
Besides, If the project is a common project not .dot net, the T4 template would not be loaded by default after upgrade project to Visual Studio 2017.
To resolve this issue, you can create a new T4 template on Visual Studio 2017, then copy the code in the previous template, the new template will works fine.
In addition, I help you submit this issue to the Visual Studio Developer Community (Thanks for your contribution), you can follow with your comments and check the feedback of this issue. I will also follow up this issue, I will send you the latest
status of this issue.
https://developercommunity.visualstudio.com/content/problem/31678/t4-template-files-does-work-after-update-project-f.html
Hope this can help you.
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading
this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.