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