Visual Studio 2012在启动时非常慢

时间:2013-08-01 10:16:39

标签: performance visual-studio-2012

现在启动IDE本身大约需要5分钟,并且没有加载任何项目。

我试过以下

  • 重新安装VS2012
  • 删除Resharper
  • 删除DevExpress

我研究了活动日志,发现#945记录大约需要8分钟。有人可以帮忙吗?

The same symptom is also described here but not answered.

  <entry>
    <record>944</record>
    <time>2013/08/01 09:52:36.493</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Visual Studio Logging Package]</description>
    <guid>{2DC9DAA9-7F2D-11D2-9BFC-00C04F9901D1}</guid>
  </entry>
  <entry>
    <record>945</record>
    <time>2013/08/01 09:52:50.670</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Loading UI library</description>
    <guid>{2DC9DAA9-7F2D-11D2-9BFC-00C04F9901D1}</guid>
    <path>D:\Program Files (x86)\Microsoft Visual Studio 11.0\\Common7\IDE*\VsLogUI.dll</path>
  </entry>
  <entry>
    <record>946</record>
    <time>2013/08/01 10:00:55.206</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{F384B236-B4A9-401B-BC58-3106E3ACA3EC}</guid>
  </entry>

1 个答案:

答案 0 :(得分:4)

对我来说似乎有用的是转储我的临时互联网文件并删除我的C:\FusionLogs

内容

以下注册表项可以告诉您Fusion Logging是否已启用以及它是否也记录在哪里:

HKLM\Software\Microsoft\Fusion\EnableLog   <-- logging set to exception
HKLM\Software\Microsoft\Fusion\ForceLog    <-- log all binds to disk
HKLM\Software\Microsoft\Fusion\LogFailures <-- log failures
HKLM\Software\Microsoft\Fusion\LogPath     <-- target of logging