Visual Studio 2010:suddently本地,立即窗口和手表不工作 [英] Visual Studio 2010: suddently Locals, Immediate Window and Watches don't work

查看:142
本文介绍了Visual Studio 2010:suddently本地,立即窗口和手表不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,一个星期前,当调试时,Locals窗口是空白的,立即窗口和手表不起作用,并且都返回无法评估表达式。

I have this problem that a week ago, when debugging, suddently the "Locals" window is blank, the "Immediate Window" and Watches don't work and all return "Unable to evaluate the expression."

此外,标准调试器显示停止给我任何信息,当我打破执行检查的东西: - (

Also the standard debugger display stopped giving me any info when I break the execution to check out stuff :-(

我已经玩过所有的调试器设置,但是没有一个似乎对我的问题有什么影响。

I have played around with all the debugger settings, but none of them seems to have any effect what so ever on my problem.

我在我的问题开始之前安装了MVC3 RC1和Nupack,但是删除它们没有解决任何东西
我也删除所有的扩展和插件一个一个找到原因,但没有结果..

I did install the MVC3 RC1 and the Nupack just before my problem started, but removing them haven't solved anything. I also removed all extensions and addons one by one to find the cause, but no result..

有人有一个想法

我正在基于Standard Core2的笔记本电脑上运行Win7 x64。

I'm running on Win7 x64 on a Standard Core2 based laptop.

推荐答案

显然,当MVC 3都出现这个问题RC和.NET Framework Async CTP安装在同一台机器上。

Apparently this problem arises when both MVC 3 RC and .NET Framework Async CTP are installed on the same machine.

您需要卸载MVC 3 RC,但由于还附带了ASP.NET网页,NuGet和一个Visual Studio更新这些必须与它一起删除。

You need to uninstall MVC 3 RC but since it also comes with ASP.NET Web Pages, NuGet and a Visual Studio update those have to be removed along with it.

您可以通过打开具有管理员权限的Visual Studio命令提示符并运行以下所有命令来自动执行该过程在其中:

You can automate the process by opening a Visual Studio command prompt with Administrator privilege and running all of the following commands in it:

wmic产品其中name =Microsoft ASP.NET MVC 3 - Visual Studio 2010工具调用卸载

wmic product where name="Microsoft ASP.NET MVC 3 - Visual Studio 2010 Tools" call uninstall

wmic产品,其中name =Microsoft ASP.NET MVC 3 - VWD Express 2010工具调用卸载

wmic product where name="Microsoft ASP.NET MVC 3 - VWD Express 2010 Tools" call uninstall

wmic产品其中name =Microsoft ASP.NET网页调用卸载

wmic product where name="Microsoft ASP.NET Web Pages" call uninstall

wmic产品其中name =Microsoft ASP.NET网页 - Visual Studio 2010工具调用卸载

wmic product where name="Microsoft ASP.NET Web Pages - Visual Studio 2010 Tools" call uninstall

wmic产品,其中name =Microsoft ASP.NET网页 - VWD Express 2010工具调用卸载

wmic product where name="Microsoft ASP.NET Web Pages - VWD Express 2010 Tools" call uninstall

wmic产品其中name =NuGet调用卸载

wmic product where name="NuGet" call uninstall

msiexec / package {BC0464FA-A0BA-3E38-85BF-DC5B3A401F48} /卸载{3069D446-63C5-38F4-9D28-41858024419C}

msiexec /package {BC0464FA-A0BA-3E38-85BF-DC5B3A401F48} /uninstall {3069D446-63C5-38F4-9D28-41858024419C}

msiexec / package {85076DFF-7A17-3566-9CC0-488E6E6D4494} / uninstall {3069D446-63C5-38F4-9D28-41858024419C}

msiexec /package {85076DFF-7A17-3566-9CC0-488E6E6D4494} /uninstall {3069D446-63C5-38F4-9D28-41858024419C}

如果问题仍然存在,但卸载.NET Framework Async CTP也是如此。

If the problem still persists however uninstall .NET Framework Async CTP as well.

卸载两个框架并重新安装MVC 3 RC1之后,所有内容现在都在我的机器上。但是,您可以选择安装Async CTP或ASP.NET MVC 3 RC1,并且可以正常运行。

After uninstalling both frameworks and reinstalling MVC 3 RC1 everything is now like before on my machine. However you can choose to install either the Async CTP or ASP.NET MVC 3 RC1 and it will work fine.

这篇关于Visual Studio 2010:suddently本地,立即窗口和手表不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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