How can I debug T4 templates in Sql Server database projects?

In any other project, anytime I want to debug a template, I simply right-click the .tt file and select the "Debug T4 template" command from the context menu.

However, this command does not appear when the .tt file is inside the Sql Server database project.

Do I have anything special to enable this function? Or is there another way to debug a template?

I am using Visual Studio 2015.

+4
source share

Source: https://habr.com/ru/post/1611989/


All Articles