步骤:

1.以管理员身份打开 Developer Command Prompt for VS 2017(vs2017开发人员命令提示符)

2.找到VS2017的安装目录(D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies)

3.执行代码:gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll

VS2017添加应用提示:对COM组件的调用返回了错误HRESULT E_FAIL

相关文章:

  • 2021-09-05
  • 2021-12-26
  • 2021-09-08
  • 2021-10-17
  • 2021-06-18
  • 2021-12-26
  • 2021-10-27
  • 2021-09-19
猜你喜欢
  • 2018-06-27
  • 2021-09-20
  • 2021-08-07
  • 2021-10-17
  • 2021-12-26
  • 2021-07-24
  • 2021-10-14
相关资源
相似解决方案