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.

This command is not available while debugging.

Example

This example opens the Visual Basic project, Test1.

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

See Also

Reference

Visual Studio Commands

Command Window

Find/Command Box

Visual Studio Command Aliases