21 references to ProjectType
Microsoft.Build (13)
Graph\ProjectGraphNode.cs (1)
25
internal ProjectInterpretation.
ProjectType
ProjectType { get; }
Graph\ProjectInterpretation.cs (12)
86
case
ProjectType
.OuterBuild:
89
case
ProjectType
.InnerBuild:
93
case
ProjectType
.NonMultitargeting:
226
internal static
ProjectType
GetProjectType(ProjectInstance project)
234
?
ProjectType
.OuterBuild
236
?
ProjectType
.InnerBuild
237
:
ProjectType
.NonMultitargeting;
252
if (outerBuild.ProjectType ==
ProjectType
.OuterBuild && outerBuild.ReferencingProjects.Count != 0)
538
ProjectType
.InnerBuild => RemoveNonexistentTargetsIfSkippable(_allTargets),
539
ProjectType
.OuterBuild => RemoveNonexistentTargetsIfSkippable(_outerBuildTargets),
540
ProjectType
.NonMultitargeting => RemoveNonexistentTargetsIfSkippable(_allTargets),
549
if (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)
94
node.ProjectType.ShouldBe(ProjectInterpretation.
ProjectType
.NonMultitargeting);
103
outerBuild.ProjectType.ShouldBe(ProjectInterpretation.
ProjectType
.OuterBuild);
116
innerBuild.ProjectType.ShouldBe(ProjectInterpretation.
ProjectType
.InnerBuild);
143
return 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)
2138
var outerBuild = graph.GraphRoots.First(i => i.ProjectType == ProjectInterpretation.
ProjectType
.OuterBuild);
2220
var innerBuild1WithReferenceToInnerBuild2 = outerBuild1.ProjectReferences.FirstOrDefault(n => n.ProjectType == ProjectInterpretation.
ProjectType
.InnerBuild && n.ProjectInstance.GlobalProperties[InnerBuildPropertyName] == "a");