没有为程序包[Visual C ++资源编辑器程序包]注册InprocServer32

时间:2018-08-16 03:26:06

标签: visual-studio-2017 windows-7-x64 resource-editor

我想,这是在昨天最近对Visual Studio 15.8.0更新之后发生的。尽管我不是100%确定此更新是由它引起的。当我尝试加载资源或打开已经创建的.rc文件时,会发生以下情况:

Error message

ActivityLog.xml这样说:

<entry>
    <record>533</record>
    <time>2018/08/15 18:01:53.704</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>No InprocServer32 registered for package [Visual C++ Resource Editor Package]</description>
    <guid>{74AAD8B2-3294-49CB-BB5D-E9BAB132BFD5}</guid>
    <hr>8007007f</hr>
    <errorinfo></errorinfo>
    <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\vcpackages\resedit.dll</path>
  </entry>

我试图解决此问题的方法:

  1. 所有修复程序from this question
  2. 从VS Installer修复Visual Studio
  3. 从头开始删除并重新安装VS

没有任何效果。可能是什么以及如何解决此问题?这并不重要,因为我仍然可以打开resource.rcresource.h并手动添加资源-编译良好。但是还是很不方便。

2 个答案:

答案 0 :(得分:1)

我们公司遇到了同样的问题。该更新可在Windows10上运行,但Windows 7系统无法打开资源编辑器。 我们的“肮脏”解决方案是将resedit.dll从较旧的Visual Studio版本复制到新版本。 希望微软很快会带来错误修正的版本

答案 1 :(得分:1)