I have the Visual Studio 2010 premium installed (iam a student and I have the vs2010 installed from our msdnaa). I wrote a small windows form application.
When I try to compile and run the program using F5, the green start button turns off for 3-5 seconds, then I get an error :
The file "obj\x86\Debug\Test.exe" cannot be copied into "bin\Debug\Test.exe".
The process cannot access the file "bin\debug\Test.exe", because it is used from other process. (Please note that I translated the error message from German)
To solve this problem, I do have to go to the debug folder and delete the Test.exe file, then recompile the Program (hitting F5) but this won`t start the debugging,I do have to start the program from Test.exe from the bin\Debug folder.
How can I solve this problem?
It is annoying then I don't have any chance to debug anymore, and also it takes too much time to delete the file, then start it again after building it.
Please help, I did tried to reinstall the VS2010 again, but this didn't help.