在Visual Studio中粘贴引用时出现错误HRESULT E_FAIL [英] Error HRESULT E_FAIL when pasting references in Visual Studio
问题描述
我知道这不是编程问题,但这是编程 tool 问题.
I know this isn't a programming question but it is a programming tool question.
在Visual Studio 2008 Team Edition(带有.NET 3.5 SP1的9.0版)中,当我将引用从一个csproj复制并粘贴到另一个csproj(使用解决方案资源管理器"视图中的上下文菜单)时,出现以下错误:>
In Visual Studio 2008 Team Edition (version 9.0 with .NET 3.5 SP1) when I copy and paste references from one csproj to another (with the context menu in the 'Solution Explorer' view) I get the following error:
对COM组件的调用已返回错误HRESULT E_FAIL
Error HRESULT E_FAIL has been returned from a call to a COM component
这只是在我的机器上开始发生的事情.我只能找到关于它的这篇文章,没有解决方案.
This has only just started happening on my machine. I can only find this article about it, and it contains no solution.
有什么想法吗?
推荐答案
是的,E_FAIL是最通用的COM错误,因为它从字面上意味着返回的COM函数失败.我想以某种方式,Visual Studio 2008的某个地方有一个损坏的COM对象.
Yikes , E_FAIL is the most generic COM error , since it literally means a COM function returned fail. I would guess that somehow , visual studio 2008 has a corrupted COM object somewhere.
您是否尝试过重新安装Visual Studio 2008,只是为了重新注册其所有tlb和对象?
Have you tried reinstalling visual studio 2008 just to get it to re-register all its tlb's and objects ?
这篇关于在Visual Studio中粘贴引用时出现错误HRESULT E_FAIL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!