Walter Clozet

Walter Clozet

After setting Visual Studio, when you press F5 to run, the program does not compile and starts directly.

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.

Image

Image

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