odd error

Hi everyone.
I keep having an odd LNK1104 error. the exact message is:
error LNK1104: cannot open file '[path]/MyApp.exe'
Which is weird because MyApp.exe is in the debug folder like it should.

I can't delete MyApp.exe because apparently I don't have administrator rights, even though I'm sure I do. I have to use shift+delete, and even then the MyApp.exe just comes back when I actualize the folder's window. Eventually, after deleting it a few times and restarting visual studio, it works, the code compiles, but whenever I modify my code and try building again, the error comes back.

I'm a student and I've talked with my teacher about the issue, he's never seen it before. I'm using visual studio ultimate 2010(x86)

Thanks in advance.
Is it in use? EG, is windows trying to read an icon from it, or is the program running? That's the only reason iy happens to me. Also, try using Rebuild Solution if you start to have issues, sometimes the temp files go wonky.
closed account (3hM2Nwbp)
If you're running Process Explorer, the file will still be in use if you have monitored the process while it was running (or at least it does on my system). If that's the case with you, then closing Process Explorer will release it. * If you aren't running Process Explorer, ignore this post.
Last edited on
Topic archived. No new replies allowed.