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

查看:33
本文介绍了加载解决方案时 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天全站免登陆