AddFromFile Method (Solution Object)

      Applies To

Adds a project to the solution based on a project file already installed in the correct location.

Syntax

Sub AddFromFile(Filename As String, [Exclusive As Boolean = False]) As Project

This syntax has these parts:

Part Description
Filename Required String. A full pathname pointing to the project file.
Exclusive Optional Boolean. If True, then the environment closes down the current solution and opens a new solution with project identified by Filename added. If False, then the project identified by Filename is added to the existing solution. The default is False.