Sometimes there are issues with VS: the code remains unchanged, but every time you press F5 to run, it will regenerate the project. If the project is large, it takes a long time and is annoying. How can you set it so that it never compiles when running with F5?
I found a solution myself: every time you press F5, it won't regenerate, it will directly launch the previously generated *.exe. Unless you manually generate a specific project or the entire solution.
The method is as follows: in the toolbar of VS, go to Tools → Options, under Projects and Solutions, Build and Run, when the project is out of date, select Never Build.