vs2012 升级到Update 4后,打开cpp文件 弹出 “Visual Studio 遇到了异常。这个可能是由某个扩展导致的”

来源:互联网 发布:淘宝电玩巴士商城黑吗 编辑:程序博客网 时间:2024/06/05 07:08
百度了很久,都是说要将注册表

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32]
默认值修改为:

C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll

可是我原先的默认值就是这个,没什么可改的。后来,根据提示打开C:\Users\用户\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml

查看最后一条

<entry>

    <record>553</record>
    <time>2017/06/10 03:36:00.225</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Visual Studio COM+ Library Manager Package]</description>
    <guid>{ED8979BC-B02F-4DA9-A667-D3256C36220A}</guid>
  </entry>

由此发现是由于未能加载Visual Studio COM+ Library Manager Package导致的。所以去https://www.microsoft.com/en-us/download/details.aspx?id=36020下载了更新,安装后恢复正常。



阅读全文
0 0
原创粉丝点击