无法将“System .__ ComObject”类型的COM对象转换为接口类型“Microsoft.VisualStudio.Shell.Interop.IVsDesignTimeAssemblyResolution”。此操作失败,因为QueryInterface ... [英] Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Shell.Interop.IVsDesignTimeAssemblyResolution'. This operation failed because the QueryInterface...

查看:112
本文介绍了无法将“System .__ ComObject”类型的COM对象转换为接口类型“Microsoft.VisualStudio.Shell.Interop.IVsDesignTimeAssemblyResolution”。此操作失败,因为QueryInterface ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在我的系统Visual Studio 10.0中安装并创建了一个网站,当我构建此错误时,我该如何解决。



错误:



无法将System .__ ComObject类型的COM对象强制转换为接口类型Microsoft.VisualStudio。 Shell.Interop.IVsDesignTimeAssemblyResolution。此操作失败,因为对于具有IID'{EDA26258-95DF-44A0-A244-D545E6C1196C}的接口的COM组件的QueryInterface调用由于以下错误而失败:不支持此类接口(HRESULT异常:0x80004002(E_NOINTERFACE)) 。

hi all,
I installed in my system Visual Studio 10.0 and created a web site when I build this error is came how can I solve.

Error:

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Shell.Interop.IVsDesignTimeAssemblyResolution'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{EDA26258-95DF-44A0-A244-D545E6C1196C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

推荐答案

注册msenv100p.dll以解决问题。



Cd C:\Program文件(x86)\ Common Files \ microsrosoft shared\MSEnv

然后键入以下命令

regsvr32 / u msenv100p.dll

regsvr32 msenv100p.dll
Register the msenv100p.dll to resolve the issue.

Cd C:\Program Files (x86)\Common Files\microsoft shared\MSEnv
then type the below commands
regsvr32 /u msenv100p.dll
regsvr32 msenv100p.dll


我的系统再次格式化并安装vs2010,因此工作正常。



非常感谢。谁帮助了我。
My system formated again and install the vs2010 so it's working fine.

Thank you very much. who helping me.


这篇关于无法将“System .__ ComObject”类型的COM对象转换为接口类型“Microsoft.VisualStudio.Shell.Interop.IVsDesignTimeAssemblyResolution”。此操作失败,因为QueryInterface ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆