fatal error LNK1104: cannot open file

  • Thread starter Thread starter danip
  • Start date Start date
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
 
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,
 
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
 
Back
Top