Cannot browse variables while debugging T4 templates after upgrading to Visual Studio 2015 Update 2

After upgrading Visual Studio 2015 from VS2015 Update 1 to Update 2. I can no longer watch or check variable values ​​while debugging a T4 template

As you can see, the scanned variables were not found in the current context. Previously, this worked in Visual Studio 2015 Update 1

Here is a screenshot in visual studio when debugging a T4 template:

Screenshot in visual studio while debugging T4 template

+4
source share
2 answers

I had the same problems. Check "Debugging-> Options-> Debugging: General-> check the box Use managed compatibility mode".

+4

, Visual Studio 2015 Update 2. , , , . . . . , .

!

-

+3

All Articles