Open Solution Command

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see Open Solution Command on docs.microsoft.com. Opens an existing solution, closing any other open solutions.

File.OpenSolution filename  

Filename
Required. The full path and file name of the solution to open.

The syntax for the filename argument requires that paths containing spaces use quotation marks.

Auto completion tries to locate the correct path and file name as you type.

This example opens the solution, Test1.sln.

>File.OpenSolution "c:\MySolutions\Test1\Test1.sln"  

Visual Studio Commands
Command Window
Find/Command Box
Visual Studio Command Aliases

Show: