/runexit

Compiles and runs the specified project name or solution.

devenv /runexit {ProjectName|SolutionName}

Arguments

  • ProjectName
    The path and name of the project to run.
  • SolutionName
    The path and name of the solution to run.

Remarks

Compiles and runs the specified project or solution according to the settings specified for the active solution configuration. This switch minimizes the IDE when the project or solution is run, and it closes the IDE after the project or solution has completed running.

Example

This example runs the MySolution solution in the minimized IDE using the active deployment configuration, and then closes the IDE.

devenv /runexit "c:\Visual Studio Projects\MySolution\MySolution.sln"

See Also

Devenv Command Line Switches | /run