Share via


Open Project Command

Opens an existing project.

File.OpenProject filename

Arguments

  • filename
    Required. The full path and file name of the project to open.

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

Remarks

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

Example

This example opens the Visual Basic project, Test1.

>File.OpenProject "C:\My Projects\Test1\Test1.vbproj"

See Also

Visual Studio Commands with Arguments | Command Window | Find/Command Box | Pre-defined Visual Studio Command Aliases