Sdílet prostřednictvím


Project.FromFile(String, ProjectOptions) Method

Definition

Create a file based project.

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

Parameters

file
String

The file to evaluate the project from.

options
ProjectOptions

The ProjectOptions to use.

Returns

Applies to