更新到Visual Studio 2015 Update 2后,无法在调试T4模板期间监视变量 [英] Unable to watch variables during debug of T4 templates after updating to Visual Studio 2015 Update 2

查看:62
本文介绍了更新到Visual Studio 2015 Update 2后,无法在调试T4模板期间监视变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将Visual Studio 2015从VS2015 Update 1更新到Update 2之后,在T4模板调试过程中,我无法再观察或检查变量值

After Updating Visual studio 2015 from VS2015 Update 1 to Update 2. I can no longer watch or inspect variable values during T4 template debugging

如您所见,在当前上下文中找不到监视的变量.这以前在Visual Studio 2015更新1中起作用

As you can see, the watched variables are not found in the current context. This was previously working in Visual Studio 2015 update 1

以下是调试T4模板时Visual Studio中的屏幕截图:

Here is a Screenshot in visual studio while debugging a T4 template:

推荐答案

我遇到了同样的麻烦.尝试使用使用托管兼容模式上的调试->选项->调试:常规->设置复选框".

I had the same trouble. Try this "Debug->Options->Debugging:General-> set checkbox on the Use Managed Compatibility Mode".

这篇关于更新到Visual Studio 2015 Update 2后,无法在调试T4模板期间监视变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆