Debugging T4 Template in VS 2010 Crashes IDE

后端 未结 5 1385
刺人心
刺人心 2021-02-04 05:08

I\'m trying to debug a slightly-modified version of the ADO.NET POCO Entity Generator template using the directions Oleg Sych published a few years back. I modified th

5条回答
  •  逝去的感伤
    2021-02-04 05:43

    To add to andrecarlucci's solution, if you save the file, you will be prompted to reload it in the second instance of Visual Studio before you can debug it. If you don't need to make further changes but need to debug it multiple times, you don't have to save every time in order to break into the code. You can simply click the Transform All Templates button on the Solution Explorer toolbar in the original instance of Visual Studio.

提交回复
热议问题