4 writes to ParentProjectGuid
Microsoft.Build (4)
Construction\Solution\ProjectInSolution.cs (1)
126ParentProjectGuid = null;
Construction\Solution\SolutionFile.cs (3)
389proj.ParentProjectGuid = ToProjectGuidFormat(projectModel.Parent.Id); 491proj.ParentProjectGuid = ToProjectGuidFormat(solutionFolderModel.Parent.Id); 1618proj.ParentProjectGuid = parentProjectGuid;
34 references to ParentProjectGuid
Microsoft.Build (8)
Construction\Solution\ProjectInSolution.cs (8)
407if (ParentProjectGuid != null) 413if (!ParentSolution.ProjectsByGuid.TryGetValue(ParentProjectGuid, out proj) && 414!ParentSolution.SolutionFoldersByGuid.TryGetValue(ParentProjectGuid, out solutionFolder)) 417new BuildEventFileInfo(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid); 453if (ParentProjectGuid != null) 455if (!ParentSolution.ProjectsByGuid.TryGetValue(ParentProjectGuid, out proj) && 456!ParentSolution.SolutionFoldersByGuid.TryGetValue(ParentProjectGuid, out solutionFolder)) 459new BuildEventFileInfo(ParentSolution.FullPath), "SolutionParseNestedProjectErrorWithNameAndGuid", ProjectName, ProjectGuid, ParentProjectGuid);
Microsoft.Build.Engine.OM.UnitTests (11)
Construction\SolutionFile_Tests.cs (11)
195Assert.Null(consoleApplication1.ParentProjectGuid); 200Assert.Null(vbClassLibrary.ParentProjectGuid); 205Assert.Null(classLibrary1.ParentProjectGuid); 277Assert.Null(classLibrary1.ParentProjectGuid); 292Assert.Equal("{E0F97730-25D2-418A-A7BD-02CAFDC6E470}", myPhysicalFolderClassLibrary1.ParentProjectGuid); 293Assert.Equal("{2AE8D6C4-FB43-430C-8AEB-15E5EEDAAE4B}", classLibrary2.ParentProjectGuid); 298Assert.NotNull(myPhysicalFolderClassLibrary1.ParentProjectGuid); 299Assert.NotNull(classLibrary2.ParentProjectGuid); 365Assert.Null(solution.ProjectsInOrder[0].ParentProjectGuid); 372Assert.Null(solution.ProjectsInOrder[1].ParentProjectGuid); 376Assert.Null(solution.ProjectsInOrder[2].ParentProjectGuid);
Microsoft.Build.Engine.UnitTests (15)
Construction\SolutionFile_NewParser_Tests.cs (1)
91solution.ProjectsInOrder[0].ParentProjectGuid.ShouldBeNull();
Construction\SolutionFile_OldParser_Tests.cs (14)
988solution.ProjectsInOrder[0].ParentProjectGuid.ShouldBeNull(); 996solution.ProjectsInOrder[1].ParentProjectGuid.ShouldBeNull(); 1004solution.ProjectsInOrder[2].ParentProjectGuid.ShouldBeNull(); 1012solution.ProjectsInOrder[3].ParentProjectGuid.ShouldBeNull(); 1074solution.ProjectsInOrder[0].ParentProjectGuid.ShouldBeNull(); 1080solution.ProjectsInOrder[1].ParentProjectGuid.ShouldBeNull(); 1086solution.ProjectsInOrder[2].ParentProjectGuid.ShouldBe("{E0F97730-25D2-418A-A7BD-02CAFDC6E470}"); 1092solution.ProjectsInOrder[3].ParentProjectGuid.ShouldBe("{E0F97730-25D2-418A-A7BD-02CAFDC6E470}"); 1098solution.ProjectsInOrder[4].ParentProjectGuid.ShouldBe("{2AE8D6C4-FB43-430C-8AEB-15E5EEDAAE4B}"); 1472solution.ProjectsInOrder[0].ParentProjectGuid.ShouldBeNull(); 1480solution.ProjectsInOrder[1].ParentProjectGuid.ShouldBeNull(); 1486solution.ProjectsInOrder[2].ParentProjectGuid.ShouldBeNull(); 1548solution.ProjectsInOrder[0].ParentProjectGuid.ShouldBeNull(); 1634solution.ProjectsInOrder[2].ParentProjectGuid.ShouldBe("{092FE6E5-71F8-43F7-9C92-30E3124B8A22}");