加载解决方案时Visual Studio冻结(崩溃) [英] Visual Studio freezing (crashing) while loading solution

查看:110
本文介绍了加载解决方案时Visual Studio冻结(崩溃)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个奇怪的问题.我在解决方案中有7个项目.我必须添加另一个MVC项目.现在,当打开(来自新项目的)文档(例如HomeController.cs)并且该项目在开始时初始化时,它将冻结整个IDE,如下所示:

I've met with a strange problem. I had 7 projects in the solution. I had to add another MVC project. Now when the document (from the new project) is opened (for example HomeController.cs) and when this project is initializing at the start, it freezes the whole IDE like this:

(某些项目无法加载)

在那之后,我必须终止进程.当我再次打开VS并快速单击另一个项目(正在初始化)时,冻结问题就消失了.我不知道什么会导致这样的问题.无论是否使用ReSharper,我都尝试过,但是得到相同的结果.另外,我恢复了VS的默认设置.还修复了整个VS.

After that, I have to kill the process. When I open VS again and fast click on another project (which is initializing) the freezing issue is gone. I have no idea what can cause a problem like this. I've tried with and without ReSharper but I get the same result. Also, I restored default settings of VS. Also repaired whole VS.

也许有人遇到同样的问题,可以提供一些有用的建议吗?

Maybe someone had the same problem and could give some helpful advice?

推荐答案

通常,从解决方案目录中删除隐藏的 .vs 文件夹即可解决此问题.

Usually removing of the hidden .vs folder in solution directory fixes the problem.

这篇关于加载解决方案时Visual Studio冻结(崩溃)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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