简体   繁体   English

如何解决在加载ASP.NET MVC项目时挂起的Visual Studio?

[英]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.

相关问题 如何在Visual Studio 2015中创建ASP.NET MVC 4项目 - How to Create an ASP.NET MVC 4 project in visual studio 2015 在Visual Studio中发布ASP.NET MVC项目时如何获取数据库设置 - How to get the databases set up when Publishing an ASP.NET MVC project in Visual Studio 如何在Visual Studio 2013中编辑ASP.Net MVC C#项目模板文件? - How can I edit ASP.Net MVC C# project template files in Visual Studio 2013? 将项目加载到Visual Studio Code时的ASP.NET MVC 5错误 - ASP.NET MVC 5 errors while loading the project to Visual Studio Code 如何将 Angular 9 SPA 项目和 ASP.NET Core 2.2 MVC 项目组合成一个 Visual Studio 2017 解决方案? - How can I combine an Angular 9 SPA project and an ASP.NET Core 2.2 MVC project into a single Visual Studio 2017 Solution? 在使用Visual Studio .NET的Web应用程序项目类型而不是网站时,我在哪里放置类? (ASP.NET) - Where do I put classes when using Web Application project type of Visual Studio .NET instead of Website? (ASP.NET) 在构建ASP.NET网站时,如何查看Visual Studio生成的元项目文件? - How do I view the metaproj files generated by Visual Studio when building an ASP.NET website? “Visual Studio 已将 ASP.NET MVC 5 的全套依赖项添加到项目中”我可以撤消它吗? - "Visual Studio has added the full set of dependencies for ASP.NET MVC 5 to project" Can I reverse it? 我在使用 Visual Studio 生成带有 ASP.NET Core 6 MVC 项目视图的 controller 时遇到问题 - I have a problem generating a controller with views in ASP.NET Core 6 MVC project using Visual Studio 部署时,如何使Visual Studio解决方案中的文件夹出现在服务器上(iis7,asp.net mvc4)? - How do I get folders in my Visual Studio solution to appear on my server when I deploy (iis7, asp.net mvc4)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM