我在格式化的电脑上运行Visual Studio 2013 Pro (RTM版本)(Windows 8.1新安装)。
我不知道为什么,但是Visual Studio 2013 Pro非常非常慢!在IDE中构建、调试、导航缓慢……我的硬盘驱动器的LED根本不亮!
我在一个小的MFC (c++)项目中使用Boost库。
什么好主意吗?
我在格式化的电脑上运行Visual Studio 2013 Pro (RTM版本)(Windows 8.1新安装)。
我不知道为什么,但是Visual Studio 2013 Pro非常非常慢!在IDE中构建、调试、导航缓慢……我的硬盘驱动器的LED根本不亮!
我在一个小的MFC (c++)项目中使用Boost库。
什么好主意吗?
当前回答
请安装Microsoft SQL Server Compact 4.0解决此问题
Microsoft SQL Server Compact 4.0
其他回答
Visual Studio Community Edition在文件之间切换或打开新文件时速度很慢。其他一切(例如,菜单项)都很正常。
我先尝试了之前答案中的所有建议,没有一个有效。然后我注意到这种情况只发生在ASP上。NET MVC 4 Web应用程序,所以我添加了一个新的ASP。NET MVC 4 Web应用程序,这是快速的。
经过反复试验,我发现区别在于包装。config -如果我把微软的引用放在文件的顶部,这使得一切都变得时髦起来。
将Microsoft*条目移到顶部。
看起来你不需要全部移动它们——移动说<package id="Microsoft.Web。基础设施“对我的机器有明显的影响。
顺便说一句
删除文件的所有内容也会让它更快* 不含包。Visual Studio中的配置不能解决这个问题 一个使用Visual Studio 2013 Premium的朋友在这两种情况下都没有发现区别(都是快速的)
更新
在本地丢失或不完整的NuGet包似乎是原因。我打开包管理器,得到一个警告“这个解决方案中缺少一些NuGet包”,然后选择恢复它们,这加快了速度。然而,我不喜欢这样做,因为在我的存储库中,我只添加编译所需的实际项目,因为我不想让我的存储库膨胀,所以最后我只是删除了packages.config。
这个解决方案可能不适合你的需求,因为我更喜欢使用NuGet来获取包,而不是处理包的更新,所以这将打破这个,如果你使用它的目的。
它与图形驱动程序有关。如果你更新了它们,你就会没事的。
或者你可以在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中遇到性能问题、产品崩溃或渲染问题
对于web应用程序,另一个导致构建和调试缓慢的原因(不是IDE导航)可能是浏览器链接功能。
我发现,打开这个功能后,构建需要4倍的时间,调试也很痛苦——每次回发之后,网页会冻结几秒钟,然后你才能与它们交互。
当从Visual Studio 2012→Visual Studio 2013时,我也遇到了类似的问题。IDE在几乎每次点击或保存后都会锁定,构建过程将花费数倍的时间。这里列出的解决方案都没有帮助。
最终有帮助的是把我的项目搬到本地硬盘上。Visual Studio 2012在网络共享中存储我的项目没有问题,但是Visual Studio 2013由于某种原因无法处理它。
迈克·弗林的版本对我不起作用。重命名C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Microsoft.TeamFoundation. git . provider .dll对我来说很有用。