Project.FromFile(String, ProjectOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.