Compiles and runs the specified project name or solution.
devenv {/run|/r} {ProjectName|SolutionName}
Arguments
- ProjectName
- The name of the project to run.
- SolutionName
- The 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 displays the IDE and leaves it active after the project or solution has completed running.
Example
This example runs the MySolution solution using the active deployment configuration.
devenv /run "c:\MySolutions\Visual Studio Projects\MySolution\MySolution.sln"
See Also
Devenv Command Line Switches | /runexit