Assuming the client application, not the web application, you can try:
- Make sure you run Visual Studio as an administrator (upgraded).
- Make sure you create your project and have the appropriate characters (.pdb and .exe have the same timestamps).
- Make sure you are not debugging the application using VS or another debugger.
source share