22 votes
Copy reference fails for File References


When I attempt to use "Copy Reference" on a file reference (as in a reference that was added using "Add Reference->Browse Tab->Select File and OK") I get the message

Microsoft Visual Studio
Error HRESULT E_FAIL has been returned from a call to a COM component.

Just to be clear "Copy Reference" works on both Project and GAC type references, but does not seem to work on File References.

File Attachments

No files are attached


most recent at top (show oldest at top)
leeoades wrote Apr 14 2009 at 1:13 PM
I also have this issue, and also do not have Resharper.

NeilWhitaker wrote Jan 28 2009 at 8:54 PM
Ditto others--I'm seeing the error, and I don't have resharper installed. Would be nice to have this feature working.

PandaWood wrote Nov 11 2008 at 12:09 PM
I can't copy or paste any references at all - I get the the same error every time.

MatthiasFG wrote Jul 16 2008 at 9:53 AM
I've the same problem over here when using "Paste References". No resharper etc. installed.

Mick wrote Jun 30 2008 at 4:18 PM
Have verified this is not due to resharper.

Mick wrote Jun 19 2008 at 5:07 AM
One other comment... I have resharper installed (however it is disabled) this might be in the mix.

Mick wrote Jun 19 2008 at 5:07 AM
Sorry, correction.

The error actually occurs when you attempt to paste the copied reference not straight after selecting "Copy Reference"

Page view tracker