VS2017 对com组件调用返回错误hresult e_fail

解决步骤如下:

第一步:

第二步:进入VS2017 安装目录,如下(路径仅供参考)

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

重启VS。。。。。。

原文地址:https://www.cnblogs.com/YYkun/p/10136680.html