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

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

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

什么好主意吗?


当前回答

还有一件事要检查;对我来说是Fusion伐木。

我很久以前就把它打开了,但差不多忘记了。删除5000多个目录和1gb的日志文件效果很好。

其他回答

我有一个Visual Studio行为,我的HTML文件的输入很慢。以前安装时,我猜想因为我的HTML文件是通用HTML,所以没有必要从安装程序的工作负载组件安装任何web开发工具。我回去安装了这个bit, 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中遇到性能问题、产品崩溃或渲染问题

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

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

如果你正在使用Microsoft Git提供程序,尝试将当前源代码控制插件设置为None(菜单工具→选项→源代码控制),这似乎会使Visual Studio 2013的存储库变得越来越大。

我使用Microsoft Git提供程序对整个Dojo Toolkit框架进行源代码控制,从我按下一个键到符号出现在屏幕上的时间出现了延迟。那么糟糕。

当/如果你再次需要Git,你可以切换到TortoiseGit提供商或Git- extensions,两者都不会减速。我个人喜欢Git-Extensions。

我可以给出这样的建议。

CodeLens可以像图中那样被禁用。它提供了很多性能优点。