I've been having this problem for a while now. I created a brand new winforms c# application in Visual Studio. I can usually launch it in debug mode once without a problem. However, if I close it and launch it again I get an error "Unable to copy file TestApplication.exe to bin\release\TestApplication.exe". Access to the path is denied.
This is driving me crazy. Why is this happening? I noticed that the folders are marked as read only. However, when I try to change it nothing happens. My manager suggested that it could be the fault of some of the extensions that I've installed. I'm using Microsoft's power tools as well as AnkhSVN plug in.
First check to see if you can delete the EXE. If you can't that means some process has a handle on it.
Run Process Explorer and do a search for TestApplication.exe to find what it is
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With