63 references to LoadProject
Microsoft.Build.Engine.OM.UnitTests (20)
Construction\ProjectRootElement_Tests.cs (1)
1043projects[current] = collection.LoadProject(paths[current]);
Construction\ProjectTargetElement_Tests.cs (1)
360collection.LoadProject(file.Path).Build().ShouldBeTrue();
Definition\ProjectCollection_Tests.cs (17)
72Project project2 = ProjectCollection.GlobalProjectCollection.LoadProject(path); 101Project project2 = ProjectCollection.GlobalProjectCollection.LoadProject(path); 130Project project2 = collection.LoadProject(path); 150Project project2 = ProjectCollection.GlobalProjectCollection.LoadProject("c:\\x"); 168Project project = collection.LoadProject(path); 304ProjectCollection.GlobalProjectCollection.LoadProject(path); 328Assert.True(ReferenceEquals(project2, collection.LoadProject("c:\\1"))); 329Assert.False(ReferenceEquals(project1, collection.LoadProject("c:\\1"))); 347Project project1 = collection1.LoadProject(path); 348Project project1b = collection1.LoadProject(path); 353Project project2 = collection2.LoadProject(path); 726ProjectCollection.GlobalProjectCollection.LoadProject(xml.FullPath); 840Project project2 = collection.LoadProject(file1); 880Project project2 = collection.LoadProject(file1); 883Project project3 = collection.LoadProject(file1); 923collection.LoadProject(file1); 926Project project3 = collection.LoadProject(file1);
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
163public Project LoadProject(string path) => this.Collection.LoadProject(path);
Microsoft.Build.Engine.UnitTests (31)
BackEnd\BuildManager_Tests.cs (5)
1926Project project = _projectCollection.LoadProject(data.ProjectFullPath); 1952Project project = _projectCollection.LoadProject(data.ProjectFullPath); 1984Project project = _projectCollection.LoadProject(data.ProjectFullPath); 2044Project project2 = projectCollection2.LoadProject(p2pProject); 2115Project project = projectCollection.LoadProject(rootProjectPath);
ChangeWaves_Tests.cs (1)
65Project p = collection.LoadProject(file.Path);
ConsoleLogger_Tests.cs (3)
217var p = pc.Collection.LoadProject(project.ProjectFile); 258var p = pc.Collection.LoadProject(project.ProjectFile); 310var p = pc.Collection.LoadProject(project.ProjectFile);
Evaluation\Evaluator_Tests.cs (10)
66Assert.Throws<InvalidProjectFileException>(() => collection.LoadProject(projectFile.Path)); 516Project project = pc.LoadProject(projectPath); 559Project project = pc.LoadProject(testTargetPath); 604Project project = pc.LoadProject(testTargetPath); 647Project project = pc.LoadProject(testTargetPath); 693Project project = pc.LoadProject(testTargetPath); 737Project project = pc.LoadProject(testTargetPath); 783Project project = pc.LoadProject(testTargetPath); 5025Project project = pc.LoadProject(tempPath.Path); 5066Project project = pc.LoadProject(testTargetPath);
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (11)
60Assert.Throws<InvalidProjectFileException>(() => projColln.LoadProject(mainProjectPath)); 310Assert.Throws<InvalidProjectFileException>(() => projColln.LoadProject(mainProjectPath)); 411var project = projColln.LoadProject(mainProjectPath); 505var project = projColln.LoadProject(mainProjectPath); 582var project = projectCollection.LoadProject(mainProjectPath); 643Assert.Throws<InvalidProjectFileException>(() => projectCollection.LoadProject(mainProjectPath)); 713var project = projectCollection.LoadProject(mainProjectPath); 778var project = projectCollection.LoadProject(mainProjectPath); 837Assert.Throws<InvalidProjectFileException>(() => projectCollection.LoadProject(mainProjectPath)); 871Assert.Throws<InvalidProjectFileException>(() => projectCollection.LoadProject(mainProjectPath)); 928var project = projColln.LoadProject(mainProjectPath);
FixPathOnUnix_Tests.cs (1)
48var project = projColln.LoadProject(buildProjectPath);
Microsoft.Build.Tasks.UnitTests (7)
Exec_Tests.cs (2)
960var project = collection.LoadProject(testProject.ProjectFile).CreateProjectInstance(); 1017var project = collection.LoadProject(testProject.ProjectFile).CreateProjectInstance();
ResolveSDKReference_Tests.cs (5)
3812ProjectInstance project = pc.LoadProject(testProjectFile).CreateProjectInstance(); 3955ProjectInstance project = pc.LoadProject(testProjectFile).CreateProjectInstance(); 4064ProjectInstance project = pc.LoadProject(testProjectFile).CreateProjectInstance(); 4161ProjectInstance project = pc.LoadProject(testProjectFile).CreateProjectInstance(); 4330ProjectInstance project = pc.LoadProject(testProjectFile).CreateProjectInstance();
Microsoft.Build.UnitTests.Shared (3)
MockEngine.cs (3)
345return (_projectCollection.LoadProject(projectFileName)).Build(); 352return (_projectCollection.LoadProject(projectFileName)).Build(targetNames); 359return (_projectCollection.LoadProject(projectFileName)).Build(targetName);
Microsoft.Build.Utilities.UnitTests (2)
ToolLocationHelper_Tests.cs (2)
3585Project project = pc.LoadProject(testProjectFile); 3657Project project = pc.LoadProject(testProjectFile);