20 references to LoadProject
dotnet-openapi (1)
Commands\BaseCommand.cs (1)
127var project = ProjectCollection.GlobalProjectCollection.LoadProject(
Microsoft.Build (1)
Definition\ProjectCollection.cs (1)
1132return 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))); 532Project project2 = ProjectCollection.GlobalProjectCollection.LoadProject("c:\\123.proj", null, null); 552Project project2 = ProjectCollection.GlobalProjectCollection.LoadProject("c:\\123.proj", null, null); 569Project newProject = collection.LoadProject("c:\\x", globalProperties, null);
Microsoft.Build.Engine.UnitTests (1)
Definition\Project_Internal_Tests.cs (1)
94Project 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 (4)
XMake.cs (4)
827Project project = collection.LoadProject(projectFile, globalProperties, toolsVersion); 1396Microsoft.Build.Evaluation.Project project = projectCollection.LoadProject(projectFile, globalProperties, toolsVersion); 1423Project project = projectCollection.LoadProject(projectFile, globalProperties, toolsVersion); 1703Project project = projectCollection.LoadProject(projectFile, globalProperties, toolsVersion);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
113Project p = _privateCollection.LoadProject(e.ProjectFile, e.GlobalProperties, e.ToolsVersion);