The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Open Solution Command

Opens an existing solution, closing any other open solutions.

File.OpenSolution 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"
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft