21 references to ProjectType
Microsoft.Build (13)
Graph\ProjectGraphNode.cs (1)
25internal ProjectInterpretation.ProjectType ProjectType { get; }
Graph\ProjectInterpretation.cs (12)
86case ProjectType.OuterBuild: 89case ProjectType.InnerBuild: 93case ProjectType.NonMultitargeting: 226internal static ProjectType GetProjectType(ProjectInstance project) 234? ProjectType.OuterBuild 236? ProjectType.InnerBuild 237: ProjectType.NonMultitargeting; 252if (outerBuild.ProjectType == ProjectType.OuterBuild && outerBuild.ReferencingProjects.Count != 0) 538ProjectType.InnerBuild => RemoveNonexistentTargetsIfSkippable(_allTargets), 539ProjectType.OuterBuild => RemoveNonexistentTargetsIfSkippable(_outerBuildTargets), 540ProjectType.NonMultitargeting => RemoveNonexistentTargetsIfSkippable(_allTargets), 549if (projectGraphNode.ProjectType == ProjectType.OuterBuild)
Microsoft.Build.Engine.UnitTests (8)
Graph\GraphTestingUtilities.cs (6)
68.Where(p => p.ProjectType == ProjectInterpretation.ProjectType.InnerBuild && p.ProjectInstance.FullPath == outerBuild.ProjectInstance.FullPath) 94node.ProjectType.ShouldBe(ProjectInterpretation.ProjectType.NonMultitargeting); 103outerBuild.ProjectType.ShouldBe(ProjectInterpretation.ProjectType.OuterBuild); 116innerBuild.ProjectType.ShouldBe(ProjectInterpretation.ProjectType.InnerBuild); 143return GetNodesWithProjectNumber(graph, projectNumber).FirstOrDefault(i => i.ProjectType == ProjectInterpretation.ProjectType.OuterBuild); 157.Where(p => p.ProjectType == ProjectInterpretation.ProjectType.InnerBuild && p.ProjectInstance.FullPath.Equals(outerBuild.ProjectInstance.FullPath))
Graph\ProjectGraph_Tests.cs (2)
2138var outerBuild = graph.GraphRoots.First(i => i.ProjectType == ProjectInterpretation.ProjectType.OuterBuild); 2220var innerBuild1WithReferenceToInnerBuild2 = outerBuild1.ProjectReferences.FirstOrDefault(n => n.ProjectType == ProjectInterpretation.ProjectType.InnerBuild && n.ProjectInstance.GlobalProperties[InnerBuildPropertyName] == "a");