lenix
lenix

Reputation: 73

Build error in Visual Studio Community 2017

  1. Start debugging. During debugging unhandled exception was thrown.

  2. Stop debugging.

  3. Edit code, start debugging with build, and build error appears

error

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

Answers (2)

Sunley95
Sunley95

Reputation: 21

Try cleaning and then building your project instead of just building your project

Upvotes: 0

Aliaksandr Stadolnik
Aliaksandr Stadolnik

Reputation: 31

I think the best and quickest way is to close VS and kill all VS related processes in Task manager.

Upvotes: 1

Related Questions