Do you edit the source code during debugging?
VS performs a “temporary” * compilation in these cases to allow you to continue working with the program. As soon as you exit debug mode, he knows this and can perform a complete rebuild of the project.
If you intend to make further changes, this build is a waste of time. Have you looked at the options in the Tools> Options> Debug> Modify and Continue menu? There, an option called a relay code changes after debugging and is enabled by default. Try disabling it.
* This is a wrong term, but I can’t remember the right one right now.
Chrisf
source share