Sometimes VS can have issues: the code doesn't change at all, but every time you run F5, it regenerates everything. If the project is large, it takes a long time, which is very annoying. How can you set it so that it never compiles when running F5?
I found a solution: every time you press F5, it won't regenerate; it will directly start the previously generated *.exe. Unless you manually generate a specific project or the entire solution.
The method is as follows: In the VS toolbar, go to Tools → Options, then under Projects and Solutions, Build and Run, during runtime, when the project is out of date, select Never build.