Walter Clozet

Walter Clozet

Set Visual Studio to run without compiling the program directly after pressing F5.

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.

Image

Image

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.