Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compile project in Visual Studio without running after build?

How to compile project in Visual Studio without running after build? I'm compiling a dll extension, but Visual Studio is trying to run it (inconvenient), then an error occurs. Can I avoid this running?

like image 786
Danilo Avatar asked Oct 26 '16 15:10

Danilo


People also ask

How do I compile a Visual Studio project?

To compile multiple C++ project items In Solution Explorer, choose multiple files that can be compiled, open the shortcut menu for one of those files, and then choose Compile, or press Ctrl+F7. If the files have dependencies, the files will be compiled in dependency order.

How do I compile only in Visual Studio?

Ctrl+F7 will compile only the active source file. Look for the Compile item at the bottom of the Build menu. Of course, you'll still have to do a build before you can test, but if you just want a quick sanity check after modifying a source file, this can be handy.

How do you exclude a project from solution build?

On the menu bar, choose Build > Configuration Manager. In the Project contexts table, locate the project you want to exclude from the build. In the Build column for the project, clear the check box. Choose the Close button, and then rebuild the solution.


1 Answers

You can use the shortcut "CTRL+SHIFT+B" and it will just build without running.

like image 149
Alex Kozlowski Avatar answered Oct 10 '22 19:10

Alex Kozlowski