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

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

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

什么好主意吗?


当前回答

“Fusion Log”的值修改为“0”。这解决了我的问题。

这是注册表中的FusionLog键:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
Check ForceLog value (1 enabled, 0 disabled).

其他回答

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

我唯一的解决办法是:

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

这里已经有了一堆答案,但是简单地提升Visual Studio的一般方法是清除临时文件。

按Windows键和R,输入'temp'。按“enter”,并根据需要提供管理员权限。然后按Control A全选,然后按Del键。记得提供任何管理员权限,如果“项目已经在使用中”,那么只需按下跳过。

在此之后,再次按Windows键和R,但这次键入'%temp%'。在新目录中重复上述步骤。

最后,清空回收站。

这可能不会有太大帮助,但应该会提高总体性能。

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

或者你可以在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中遇到性能问题、产品崩溃或渲染问题

我也遇到过同样的问题,对我来说唯一有效的解决方法就是遵循以下三个步骤:

清理WebSiteCache文件夹(你可以在 C:\Users\ %用户名% \ AppData \当地\ Microsoft \ WebSiteCache) 清洁“临时ASP。NET Files”文件夹(在 C:\Users\ %用户名% \ AppData \当地\ Temp \临时ASP。网络文件) 重启Visual Studio

如果您在呈现.cs文件和.cshtml文件时遇到很慢的情况,有一个很好的解决方案。

只需关闭所有打开的文件,以便缓存被清除,并再次打开所需的文件。