我在格式化的电脑上运行Visual Studio 2013 Pro (RTM版本)(Windows 8.1新安装)。

我不知道为什么,但是Visual Studio 2013 Pro非常非常慢!在IDE中构建、调试、导航缓慢……我的硬盘驱动器的LED根本不亮!

我在一个小的MFC (c++)项目中使用Boost库。

什么好主意吗?


当前回答

我有同样的问题,但它只是变得缓慢时,试图停止调试在Visual Studio 2013,我尝试这样做:

关闭Visual Studio吧 找到工作项目文件夹 删除.suo文件 删除/obj文件夹 Open Visual Studio 重建

其他回答

它与图形驱动程序有关。如果你更新了它们,你就会没事的。

或者你可以在Visual Studio中按照以下步骤禁用硬件图形加速:

In Visual Studio, click "Tools", and then click "Options". In the Options dialog box, navigate to the "Environment > General" section and clear the "Automatically adjust visual experience based on client performance" check box. (Refer to the following screen shot for this step.) Clear the "Use hardware graphics acceleration if available" check box to prevent the use of hardware graphics acceleration. Select or clear the "Enable rich client visual experience" check box to make sure that rich visuals are always on or off, respectively. When this check box is selected, rich visuals are used independent of the computer environment. For example, rich visuals are used when you run Visual Studio locally on a rich client and over remote desktop.

引用:

在Visual Studio 2013中遇到性能问题、产品崩溃或渲染问题

迈克·弗林的版本对我不起作用。重命名C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Microsoft.TeamFoundation. git . provider .dll对我来说很有用。

对我来说,问题在于开始页面——它正在下载内容,导致Visual Studio挂起。

我唯一的解决办法是:

从任务管理器中删除DevEnv进程 从命令行以安全模式启动Visual Studio:devenv.exe /safemode 进入“工具→选项”菜单,选择“环境/启动”选项 选择“显示空环境”作为启动操作 关闭Visual Studio 重新启动正常

当从Visual Studio 2012→Visual Studio 2013时,我也遇到了类似的问题。IDE在几乎每次点击或保存后都会锁定,构建过程将花费数倍的时间。这里列出的解决方案都没有帮助。

最终有帮助的是把我的项目搬到本地硬盘上。Visual Studio 2012在网络共享中存储我的项目没有问题,但是Visual Studio 2013由于某种原因无法处理它。

性能探险家

你是否一直在使用分析→性能和诊断菜单?我有!这是太棒了!但你可能需要清理一下。

打开性能资源管理器。如果您折叠其中的所有项目,选择全部,然后您可以右键单击并执行删除。

我的解决方案打开速度更快,现在运行速度也快得多。

您可能还会注意到sln文件的更改,如下所示。对我来说,这个部分已经从sln中删除了。

GlobalSection(Performance) = preSolution
    HasPerformanceSessions = true
EndGlobalSection