[英]How do I troubleshoot Visual Studio which is hanging when loading ASP.NET MVC project?
Yesterday I worked on an MVC 3 project in Visual Studio 2010 and then shut down Visual Studio before leaving work. 昨天我在Visual Studio 2010中开发了一个MVC 3项目,然后在离开工作之前关闭了Visual Studio。
This morning when I try to load the same project in Visual Studio the project hangs. 今天早上,当我尝试在Visual Studio中加载相同的项目时,项目挂起。 I have restarted my computer, disabled all add-ons and extensions that I could.
我重新启动了计算机,禁用了所有可用的附加组件和扩展程序。 Still no banana.
还是没有香蕉。
I have no idea how to troubleshoot this. 我不知道如何解决这个问题。 I would try to clean the solution if I could get it to load but I can't.
我会尝试清理解决方案,如果我可以加载但我不能。 (Can I clean the solution from the VS command window?).
(我可以从VS命令窗口清除解决方案吗?)。
Any help would be greatly appreciated. 任何帮助将不胜感激。 How do I troubleshoot this?
我该如何解决这个问题?
Seth 赛斯
You could try starting visual studio from the command line with logging enabled . 您可以尝试从命令行启动visual studio 并启用日志记录 。
There a several other switches available, which may also be useful, like starting in safemode ... 还有其他几个可用的开关 ,也可能很有用,比如从安全模式开始......
Though it is something unexpected. 虽然这是意想不到的事情。 A wild guess Try resetting user settings of Visual Studio
疯狂猜测尝试重置Visual Studio的用户设置
Close solution, delete your *.suo and open it again. 关闭解决方案,删除* .suo并再次打开它。 If issue still persist, do above tip again, clean and rebuild solution, wait while to check whether a pop-up window prompt for logging (azure, sharepoint or something like that).
如果问题仍然存在,请再次进行上述提示,清理并重建解决方案,等待检查是否有弹出窗口提示进行记录(azure,sharepoint或类似的东西)。 Enter credential, choose remember.
输入凭证,选择记住。
Hope that help. 希望有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.