48 references to GetUniqueProjectName
Microsoft.Build (7)
Construction\Solution\ProjectInSolution.cs (2)
420uniqueName = (proj != null ? proj.GetUniqueProjectName() : solutionFolder.GetUniqueProjectName()) + "\\";
Construction\Solution\SolutionFile.cs (2)
812string uniqueName = proj.GetUniqueProjectName(); 1877return proj.GetUniqueProjectName();
Construction\Solution\SolutionProjectGenerator.cs (2)
1286baseName = Path.Combine(_solutionFile.SolutionFileDirectory, MakeIntoSafeItemName(project.GetUniqueProjectName())); 2018string baseProjectName = ProjectInSolution.DisambiguateProjectTargetName(project.GetUniqueProjectName());
Graph\ProjectGraph.cs (1)
658string baseProjectName = ProjectInSolution.DisambiguateProjectTargetName(project.GetUniqueProjectName());
Microsoft.Build.Engine.UnitTests (41)
Construction\SolutionFile_NewParser_Tests.cs (1)
92solution.ProjectsInOrder[0].GetUniqueProjectName().ShouldBe(@"C:\WebSites\WebApplication3\");
Construction\SolutionFile_OldParser_Tests.cs (40)
989solution.ProjectsInOrder[0].GetUniqueProjectName().ShouldBe("ConsoleApplication1"); 997solution.ProjectsInOrder[1].GetUniqueProjectName().ShouldBe("vbClassLibrary"); 1005solution.ProjectsInOrder[2].GetUniqueProjectName().ShouldBe("ClassLibrary1"); 1013solution.ProjectsInOrder[3].GetUniqueProjectName().ShouldBe("cpsFsProject"); 1075solution.ProjectsInOrder[0].GetUniqueProjectName().ShouldBe("ClassLibrary1"); 1081solution.ProjectsInOrder[1].GetUniqueProjectName().ShouldBe("MySlnFolder"); 1087solution.ProjectsInOrder[2].GetUniqueProjectName().ShouldBe(@"MySlnFolder\ClassLibrary1"); 1093solution.ProjectsInOrder[3].GetUniqueProjectName().ShouldBe(@"MySlnFolder\MySubSlnFolder"); 1099solution.ProjectsInOrder[4].GetUniqueProjectName().ShouldBe(@"MySlnFolder\MySubSlnFolder\ClassLibrary2"); 1473solution.ProjectsInOrder[0].GetUniqueProjectName().ShouldBe("ClassLibrary1"); 1481solution.ProjectsInOrder[1].GetUniqueProjectName().ShouldBe("ClassLibrary2"); 1487solution.ProjectsInOrder[2].GetUniqueProjectName().ShouldBe("ClassLibrary3"); 1549solution.ProjectsInOrder[0].GetUniqueProjectName().ShouldBe(@"C:\WebSites\WebApplication3\"); 1627solution.ProjectsInOrder[0].GetUniqueProjectName().ShouldBe(@"C:\WebSites\WebApplication3\"); 1633solution.ProjectsInOrder[2].GetUniqueProjectName().ShouldBe(@"C:\WebSites\WebApplication4\"); 1897mainAppProject.GetUniqueProjectName().ShouldNotBe(classLibraryProject.GetUniqueProjectName()); 1898classLibraryProject.GetUniqueProjectName().ShouldBe("ClassLibrary"); 1899mainAppProject.GetUniqueProjectName().ShouldBe("MainApp"); 1900lowLevelProject.GetUniqueProjectName().ShouldNotBe(highLevelProject.GetUniqueProjectName()); 1901lowLevelProject.GetUniqueProjectName().ShouldBe("SomeLowLevelLayerProject"); 1902highLevelProject.GetUniqueProjectName().ShouldBe("SomeHighLevelLayerProject"); 2102project2.GetUniqueProjectName().ShouldNotBe(project1.GetUniqueProjectName()); 2103project1.GetUniqueProjectName().ShouldBe(@"MySlnFolder\Project_Named_With_Dots"); 2104project2.GetUniqueProjectName().ShouldBe(@"MySlnFolder\Project_Named_With_Dots_ED30D4A3-1214-410B-82BB-B61E5A9D05CA"); 2171project2.GetUniqueProjectName().ShouldNotBe(project1.GetUniqueProjectName()); 2172project1.GetUniqueProjectName().ShouldBe("Project_Named_With_Dots_FC2889D9-6050-4D2E-B022-979CCFEEAAAC"); 2173project2.GetUniqueProjectName().ShouldBe("Project_Named_With_Dots"); 2249project2.GetUniqueProjectName().ShouldNotBe(project1.GetUniqueProjectName()); 2250project3.GetUniqueProjectName().ShouldNotBe(project2.GetUniqueProjectName()); 2251project3.GetUniqueProjectName().ShouldNotBe(project1.GetUniqueProjectName()); 2253project1.GetUniqueProjectName().ShouldBe("Project_Named_With_Dots_6185CC21-BE89-448A-B3C0-D1C27112E595"); 2254project2.GetUniqueProjectName().ShouldBe("Project_Named_With_Dots_FC2889D9-6050-4D2E-B022-979CCFEEAAAC"); 2255project3.GetUniqueProjectName().ShouldBe("Project_Named_With_Dots");