Executing Your Visual Studio Build Using the Command Line

Visual Studio builds can be executed directly from the Command Line, using IncrediBuild BuildConsole command.

> To execute a Visual Studio build using the Command Line:

  • In the CLI, enter:

BuildConsole <<path>\<build_name>> /rebuild /cfg="<your_solution_configuration>

Where:

/cfg - Determines the solution configuration to be built.

For example, if you have a Visual Studio solution called "mysolution.sln", the execution command could be as follows:

BuildConsole mysolution.sln /rebuild /cfg="Debug|Win32" /openmonitor

Note: For more information about the BuildConsole command and its options, see IncrediBuild documentation: https://incredibuild.atlassian.net/wiki/spaces/IUM/pages/14024981