Someone is locking the file!!1!!

LINK : fatal error LNK1104: cannot open file
Yeah, dear VisualStudio, because you are locking that file yourself, you stupid **CENSORED**, argl. Currently, I'm getting this after every recompile of any file in the project. This seems to be a known bug, lots of people on the web are having the same problem: VisualStudio locks a compiled managed .dll after the first compile, and trying to compile it a second time will fail because the IDE cannot write to the file because it still locks it. Only restarting the whole IDE helps. Looks like I'm going to change the project setup, I think this a lot better then having to restart VisualStudio every two minutes..
update: Helped as expected. If anybody has this problem: Simply make visual studio copy the .dll automaticly to another directory and use that for running your application.

six comments, already:

Just try ‘Clean Solution’ before your re-compile…

...should solve your Problem, so you don’t have to re-start VS :-)

[Duncan Mac Leod] (link) - 22 03 06 - 11:59

yep, thx. But restarting is a lot faster than recompiling that huge project. :)
niko - 22 03 06 - 17:03

This would not have happened if you use VIM for developing, like real mean do.
mp - 23 03 06 - 15:33

My only gripe so far with VS 2005 is when you cancel a build, using either Ctrl+Break or with the menu, it can corrupt the .obj of the file it was compiling, and you either have to rebuild the project or solution, or find the file( which sucks in large projects ) and right click it in the Solution Explorer and compile the single file, then all is well.
spintz () (link) - 24 03 06 - 04:23

Could you post a download link with a new version soon?
Jonathon () - 24 03 06 - 14:33

Could you please set up a download link, or at least email me at(
Jonathon () - 26 03 06 - 13:45

Remember personal info?
Email (optional):
URL (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile

  ( Register your username / Log in )

Notify: Yes, send me email when someone replies.  

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.