views:

302

answers:

1

I know this isn't a programming question but it is a programming tool question.

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:

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.

Any ideas?

+2  A: 

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.

Have you tried reinstalling visual studio 2008 just to get it to re-register all its tlb's and objects ?

Andrew Keith
It went away after a bit. Perhaps it was just having a bad day...
Joe