Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.24 KB

File metadata and controls

56 lines (40 loc) · 1.24 KB
title Open Project command
description Learn about the Open Project command and how it opens an existing project or solution.
ms.date 11/04/2016
ms.topic reference
f1_keywords
file.openproject
file.opensolution
helpviewer_keywords
op command
File.OpenProject command
Open Project command
author Mikejo5000
ms.author mikejo
ms.subservice general-ide

Open project command

Opens an existing project or solution.

Syntax

File.OpenProject filename

Arguments

filename

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

Note

The syntax for the filename argument requires that paths that contain 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

The following example opens the Visual Basic project Test1:

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

See also