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