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