6 references to FromFile
Microsoft.Build.Engine.OM.UnitTests (2)
Definition\ProjectItem_Tests.cs (2)
954
Should.Throw<InvalidProjectFileException>(() => { ProjectInstance.
FromFile
(testProjectFile, new ProjectOptions()); });
965
ProjectInstance.
FromFile
(testProjectFile, options);
Microsoft.Build.Engine.UnitTests (3)
Definition\ProjectEvaluationContext_Tests.cs (1)
152
var projectInstance = ProjectInstance.
FromFile
(
Instance\ProjectInstance_Internal_Tests.cs (2)
715
(f, xml, c) => ProjectInstance.
FromFile
(f, new ProjectOptions { ProjectCollection = c })
899
ProjectInstance projectInstance = ProjectInstance.
FromFile
(
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
1483
var p = ProjectInstance.
FromFile
(testProjectFile, new ProjectOptions());