20 references to LoadProject
dotnet-openapi (1)
Commands\BaseCommand.cs (1)
127
var project = ProjectCollection.GlobalProjectCollection.
LoadProject
(
Microsoft.Build (1)
Definition\ProjectCollection.cs (1)
1147
return
LoadProject
(fileName, null /* use project collection's global properties */, toolsVersion);
Microsoft.Build.Engine.OM.UnitTests (10)
Definition\ProjectCollection_Tests.cs (10)
230
Project project = collection.
LoadProject
(path, null, "4.0");
397
ProjectCollection.GlobalProjectCollection.
LoadProject
("c:\\1", globals, null);
425
Assert.True(ReferenceEquals(project1, ProjectCollection.GlobalProjectCollection.
LoadProject
(projectDirectory, globalProperties1, ObjectModelHelpers.MSBuildDefaultToolsVersion)));
426
Assert.True(ReferenceEquals(project2, ProjectCollection.GlobalProjectCollection.
LoadProject
(projectDirectory, globalProperties2, ObjectModelHelpers.MSBuildDefaultToolsVersion)));
458
Project project2 = ProjectCollection.GlobalProjectCollection.
LoadProject
("c:\\1", project2Globals, null);
513
Assert.True(ReferenceEquals(project1, ProjectCollection.GlobalProjectCollection.
LoadProject
("c:\\1", null, "2.0")));
514
Assert.True(ReferenceEquals(project2, ProjectCollection.GlobalProjectCollection.
LoadProject
("c:\\1", null, ObjectModelHelpers.MSBuildDefaultToolsVersion)));
534
Project project2 = ProjectCollection.GlobalProjectCollection.
LoadProject
("c:\\123.proj", null, null);
556
Project project2 = ProjectCollection.GlobalProjectCollection.
LoadProject
("c:\\123.proj", null, null);
573
Project newProject = collection.
LoadProject
("c:\\x", globalProperties, null);
Microsoft.Build.Engine.UnitTests (1)
Definition\Project_Internal_Tests.cs (1)
96
Project project2 = ProjectCollection.GlobalProjectCollection.
LoadProject
("c:\\123.proj", null, null);
Microsoft.Build.UnitTests.Shared (2)
MockEngine.cs (2)
247
Project project = _projectCollection.
LoadProject
(projectFileName, finalGlobalProperties, toolsVersion);
314
ProjectInstance instance = _projectCollection.
LoadProject
(projectFileNames[i], finalGlobalProperties, null).CreateProjectInstance();
MSBuild (4)
XMake.cs (4)
838
Project project = collection.
LoadProject
(projectFile, globalProperties, toolsVersion);
1407
Microsoft.Build.Evaluation.Project project = projectCollection.
LoadProject
(projectFile, globalProperties, toolsVersion);
1434
Project project = projectCollection.
LoadProject
(projectFile, globalProperties, toolsVersion);
1714
Project project = projectCollection.
LoadProject
(projectFile, globalProperties, toolsVersion);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
113
Project p = _privateCollection.
LoadProject
(e.ProjectFile, e.GlobalProperties, e.ToolsVersion);