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?