ProjectInstance.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 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.