在打开解决方案之前卸载项目

Unload projects before opening the solution

我需要打开一个包含数百个项目的解决方案。但是,我只需要在任何给定时间加载大约十个这样的项目。当我对加载的解决方案执行任何操作时,解决方案的庞大规模导致 Visual Studio 停止或崩溃。

我试过卸载项目,但即使卸载一个项目也需要十分钟以上的时间。是否可以在打开解决方案之前卸载项目,或者首先阻止它们加载?

我宁愿只打开解决方案的"shell",然后手动加载我需要的项目。

我知道这不是真正的答案,但我在包含 100 个项目 (OpenSim) 的解决方案中遇到了同样的问题。 VS2013 会花很长时间搅动它,冻结,没有响应等等。事实上它是无法使用的。我卸载了 VS2013,然后回到速度更快的 VS2010。 我不认为你可以只加载一些项目,因为可能存在依赖关系,并且 VS 在后台不断构建,以便为你提供正确的智能感知和自动完成以及突出显示的错误等。

可能不是您想听到的 ;)

尝试漏斗扩展:https://visualstudiogallery.msdn.microsoft.com/5396fa4a-d638-471b-ac3d-671ccd2ea369

Decrease solution loading and re-compilation times dramatically by filtering projects not relevant for the current development task.

Large solutions which contain a significant amount of code or projects may be time consuming for Visual Studio in loading and compiling the solution code. In most cases however, we do not need all the source code contained by a Visual Studio solution. We usually work on one or two aspects or features of the application and after completing them, move to the next one. Funnel allows an in-time selective loading of solution parts. It improves the performance for loading and compiling your projects dramatically.