Reputation: 73
Start debugging. During debugging unhandled exception was thrown.
Stop debugging.
Edit code, start debugging with build, and build error appears
I think Visual Studio don't release these files after first debugging.
This error can appear even if exception wasn't thrown, but if debugging was just stopped.
How to fix it?
Upvotes: 0
Views: 49
Reputation: 21
Try cleaning and then building your project instead of just building your project
Upvotes: 0
Reputation: 31
I think the best and quickest way is to close VS and kill all VS related processes in Task manager.
Upvotes: 1