fatal error LNK1104: cannot open file

D

danip

Hi,
I have a C# project that have a C++ .net DLL as a reference. Everything
is working okay, except when I try to rebuild only the C++ DLL I
receive the error: fatal error LNK1104: cannot open file.
Any Solutions ?

-- Dani
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Maybe the file is in use, sometimes I get this error when I build a solution
, it said that cannot write the output.

Try to delete it manually.

In the worst case you can download an utility from sysinternals.com that
says what program have open what file

cheers,
 
D

danip

Hi,
The file is not in use, it's just a refernce in another project in the
solution. So I'm deleting the file from the project, build it, and add
it again. I just want to avoid all this.
-- Dani
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top