Please enable JavaScript to view this site.

Visual Studio Project Builder Help

Build Order

 

/sortProjectsNone

 

Do not sort projects.

 

/sortProjectsOptimize

 

Sort projects to optimize the project build order.

 

/sortProjectsProjectName

 

Sort projects by project name.

 

/sortProjectsFileName

 

Sort projects by project file name.

 

 

Building

 

/build

 

Build all enabled projects.

 

Examples:

 

 /build

 

/rebuild

 

Rebuild all enabled projects.

 

Examples:

 

 /rebuild

 

/clean

 

Clean all enabled projects.

 

Examples:

 

 /clean

 

/touch

 

Touch all source files, resource files and header files in all projects.

 

Examples:

 

 /touch

 

/buildProject

 

Specify the Visual Studio project to build.

 

If the name contains spaces, it should be quoted.

 

Examples:

 

/buildProject e:\om\c\testApps\testApps.vcxproj

 

/buildProject "e:\om\c\dev workspace\testApps.vcxproj"

 

 

Related options

 

This option is best used with /loadSettings to load the settings you wish to use to build the solution, or with /resetSettings to use the default settings to build the solution.

 

Alternatively you can specify individual project file types to build in the project:

 

/vcxproj

/vcproj

/dsp

/csproj

/fsproj

/vbproj

/vjsproj

 

 

Batch file usage

 

start /wait "Build TestApps" "C:\Program Files (x86)\Software Verify\Visual Studio Project Builder\visualStudioProjectBuilder.exe" /resetSettings /buildProject "e:\om\c\testApps\testApps.vcxproj"

 

This line in the batch file does this:

 

starts Visual Studio Project Builder

resets the settings to the default

loads e:\om\c\testApps\testApps.vcxproj

builds all configurations of the project (which configurations are controlled by the settings - you can change this by using /loadSettings)

closes Visual Studio Project Builder

the batch file waits for Visual Studio Project Builder before executing the next statement in the batch file