
328
|
Chapter 10, Work with Visual Studio Tools
#78 Launch Visual Studio from the Command Prompt
HACK
Other Switches
A number of other command-line switches can be used to do various things
with Visual Studio. These command-line switches are shown in Table 10-2.
Table 10-1. Build switches
Switch Description
/clean Cleans the project or solution according to the configuration of that
project or solution
/rebuild Cleans and builds the project or solution
/project Specifies the project to build
/projectconfig Specifies the configuration to use when building the project
/deploy Tells Visual Studio to deploy the solution after it has been built
/out Specifies the name of a file to send any build errors to
Table 10-2. Command-line switches
Switch Description
/lcid Specifies the default language to use for the IDE. Example: devenv
/lcid 1033
/mdi
Specifies that Visual Studio should be run in MDI mode.
/mditabs Specifies that Visual Studio should be run in MDI mode with tabs on
documents enabled.
/migratesettings Tells Visual Studio to trigger the settings migration process, which
can be used to move settings from one version of Visual Studio to
another. (You usually see this screen the first time you run a new
installation of Visual Studio.)
/nologo Launches Visual Studio without the splash screen.
/noVSIP Disables a developer’s VSIP license on this workstation.
/safemode Specifies that Visual Studio should open without ...