5 writes to ProjectGuid
Microsoft.Build (5)
Construction\Solution\ProjectInSolution.cs (1)
124ProjectGuid = null;
Construction\Solution\SolutionFile.cs (4)
372ProjectGuid = ToProjectGuidFormat(projectModel.Id), 483ProjectGuid = ToProjectGuidFormat(solutionFolderModel.Id), 1191proj.ProjectGuid = projGuidNode?.InnerText ?? String.Empty; 1512proj.ProjectGuid = match.Groups["PROJECTGUID"].Value.Trim();
53 references to ProjectGuid
Microsoft.Build (16)
Construction\Solution\ProjectInSolution.cs (4)
417new BuildEventFileInfo(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid); 459new BuildEventFileInfo(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid); 475if (string.IsNullOrEmpty(ProjectGuid)) 480return ProjectGuid.Trim(['{', '}']);
Construction\Solution\SolutionFile.cs (6)
494if (!string.IsNullOrEmpty(proj.ProjectGuid)) 496_solutionFoldersByGuid[proj.ProjectGuid] = proj; 1258if (!String.IsNullOrEmpty(proj.ProjectGuid)) 1260_projectsByGuid[proj.ProjectGuid] = proj; 1765project.ProjectGuid, solutionConfiguration.FullName); 1773project.ProjectGuid, solutionConfiguration.FullName);
Construction\Solution\SolutionProjectGenerator.cs (5)
276xw.WriteAttributeString("Project", project.ProjectGuid); 287ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(dependencyProject != null, "SubCategoryForSolutionParsingErrors", new BuildEventFileInfo(solutionFile.FullPath), "SolutionParseProjectDepNotFoundError", project.ProjectGuid, dependencyProjectGuid); 1160projectToAdd.ProjectGuid, 1316project.ProjectGuid, 2214project.ProjectGuid,
Graph\GraphBuilder.cs (1)
352project.ProjectGuid,
Microsoft.Build.Engine.OM.UnitTests (7)
Construction\SolutionFile_Tests.cs (7)
104Assert.Equal("{0ABED153-9451-483C-8140-9E8D7306B216}", solution.ProjectsInOrder[0].ProjectGuid); 209Assert.Equal("{AB3413A6-D689-486D-B7F0-A095371B3F13}", consoleApplication1.ProjectGuid); 210Assert.Equal("{BA333A76-4511-47B8-8DF4-CA51C303AD0B}", vbClassLibrary.ProjectGuid); 211Assert.Equal("{DEBCE986-61B9-435E-8018-44B9EF751655}", classLibrary1.ProjectGuid); 364Assert.Equal(classLibrary3.ProjectGuid, classLibrary1.Dependencies[0]); 370Assert.Contains(classLibrary3.ProjectGuid, classLibrary2.Dependencies); 371Assert.Contains(classLibrary1.ProjectGuid, classLibrary2.Dependencies);
Microsoft.Build.Engine.UnitTests (29)
Construction\SolutionFile_OldParser_Tests.cs (29)
45proj.ProjectGuid.ShouldBe("Unique name-GUID"); 86proj.ProjectGuid.ShouldBe("Unique name-GUID"); 105proj.ProjectGuid.ShouldBe("Unique name-GUID"); 141Assert.Equal("{0ABED153-9451-483C-8140-9E8D7306B216}", solution.ProjectsInOrder[0].ProjectGuid); 161proj.ProjectGuid.ShouldBe("Unique name-GUID"); 724proj.ProjectGuid.ShouldBe("Unique name-GUID"); 761Assert.Equal("{0ABED153-9451-483C-8140-9E8D7306B216}", solution.ProjectsInOrder[0].ProjectGuid); 787proj.ProjectGuid.ShouldBe("Unique name-GUID"); 986solution.ProjectsInOrder[0].ProjectGuid.ShouldBe("{AB3413A6-D689-486D-B7F0-A095371B3F13}"); 994solution.ProjectsInOrder[1].ProjectGuid.ShouldBe("{BA333A76-4511-47B8-8DF4-CA51C303AD0B}"); 1002solution.ProjectsInOrder[2].ProjectGuid.ShouldBe("{DEBCE986-61B9-435E-8018-44B9EF751655}"); 1010solution.ProjectsInOrder[3].ProjectGuid.ShouldBe("{9200923E-1814-4E76-A677-C61E4896D67F}"); 1072solution.ProjectsInOrder[0].ProjectGuid.ShouldBe("{34E0D07D-CF8F-459D-9449-C4188D8C5564}"); 1078solution.ProjectsInOrder[1].ProjectGuid.ShouldBe("{E0F97730-25D2-418A-A7BD-02CAFDC6E470}"); 1084solution.ProjectsInOrder[2].ProjectGuid.ShouldBe("{A5EE8128-B08E-4533-86C5-E46714981680}"); 1090solution.ProjectsInOrder[3].ProjectGuid.ShouldBe("{2AE8D6C4-FB43-430C-8AEB-15E5EEDAAE4B}"); 1096solution.ProjectsInOrder[4].ProjectGuid.ShouldBe("{6DB98C35-FDCC-4818-B5D4-1F0A385FDFD4}"); 1388solution.ProjectsInOrder[0].ProjectGuid.ShouldBe("{892B5932-9AA8-46F9-A857-8967DCDBE4F5}"); 1392solution.ProjectsInOrder[1].ProjectGuid.ShouldBe("{A5526AEA-E0A2-496D-94B7-2BBE835C83F8}"); 1396solution.ProjectsInOrder[2].ProjectGuid.ShouldBe("{FF6AEDF3-950A-46DD-910B-52BC69B9C99A}"); 1400solution.ProjectsInOrder[3].ProjectGuid.ShouldBe("{024E8607-06B0-440D-8741-5A888DC4B176}"); 1404solution.ProjectsInOrder[4].ProjectGuid.ShouldBe("{E0F97730-25D2-418A-A7BD-02CAFDC6E470}"); 1410solution.ProjectsInOrder[5].ProjectGuid.ShouldBe("{A5EE8128-B08E-4533-86C5-E46714981680}"); 1469solution.ProjectsInOrder[0].ProjectGuid.ShouldBe("{05A5AD00-71B5-4612-AF2F-9EA9121C4111}"); 1476solution.ProjectsInOrder[1].ProjectGuid.ShouldBe("{7F316407-AE3E-4F26-BE61-2C50D30DA158}"); 1484solution.ProjectsInOrder[2].ProjectGuid.ShouldBe("{FAB4EE06-6E01-495A-8926-5514599E3DD9}"); 1546solution.ProjectsInOrder[0].ProjectGuid.ShouldBe("{464FD0B9-E335-4677-BE1E-6B2F982F4D86}"); 1630solution.ProjectsInOrder[1].ProjectGuid.ShouldBe("{092FE6E5-71F8-43F7-9C92-30E3124B8A22}"); 2430solution.ProjectsInOrder[0].ProjectGuid.ShouldBe("{0ABED153-9451-483C-8140-9E8D7306B216}");
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
BuildHost.cs (1)
154builder.Add((project.AbsolutePath, project.ProjectGuid));