Partilhar via


ProjectInstance.FromFile(String, ProjectOptions) Method

Definition

Create a file based ProjectInstance.

public:
 static Microsoft::Build::Execution::ProjectInstance ^ FromFile(System::String ^ file, Microsoft::Build::Definition::ProjectOptions ^ options);
public static Microsoft.Build.Execution.ProjectInstance FromFile (string file, Microsoft.Build.Definition.ProjectOptions options);
static member FromFile : string * Microsoft.Build.Definition.ProjectOptions -> Microsoft.Build.Execution.ProjectInstance
Public Shared Function FromFile (file As String, options As ProjectOptions) As ProjectInstance

Parameters

file
String

The file to evaluate the ProjectInstance from.

options
ProjectOptions

The ProjectOptions to use.

Returns

Applies to