10 writes to ProjectType
Microsoft.Build (10)
Construction\Solution\ProjectInSolution.cs (1)
121ProjectType = SolutionProjectType.Unknown;
Construction\Solution\SolutionFile.cs (9)
484ProjectType = SolutionProjectType.SolutionFolder, 1181proj.ProjectType = SolutionProjectType.EtpSubProject; 1541proj.ProjectType = SolutionProjectType.KnownToBeMSBuildFormat; 1545proj.ProjectType = SolutionProjectType.SharedProject; 1549proj.ProjectType = SolutionProjectType.SolutionFolder; 1566proj.ProjectType = SolutionProjectType.KnownToBeMSBuildFormat; 1571proj.ProjectType = SolutionProjectType.WebProject; 1576proj.ProjectType = SolutionProjectType.WebDeploymentProject; 1581proj.ProjectType = SolutionProjectType.Unknown;
36 references to ProjectType
Microsoft.Build (17)
Construction\Solution\ProjectInSolution.cs (4)
395if ((ProjectType == SolutionProjectType.WebProject) || (ProjectType == SolutionProjectType.EtpSubProject)) 439if ((ProjectType == SolutionProjectType.WebProject) || (ProjectType == SolutionProjectType.EtpSubProject))
Construction\Solution\SolutionFile.cs (3)
512return project.ProjectType != SolutionProjectType.SolutionFolder && project.ProjectConfigurations.Count > 0; 814if (proj.ProjectType == SolutionProjectType.WebProject) 1758if (project.ProjectType != SolutionProjectType.SolutionFolder)
Construction\Solution\SolutionProjectGenerator.cs (9)
293if (dependencyProject.ProjectType == SolutionProjectType.KnownToBeMSBuildFormat) 661if (project.ProjectType == SolutionProjectType.WebProject) 1148if ((projectToAdd.ProjectType == SolutionProjectType.KnownToBeMSBuildFormat) || 1223if (project.ProjectType == SolutionProjectType.WebProject) 1243else if ((project.ProjectType == SolutionProjectType.KnownToBeMSBuildFormat) || 1284if (project.ProjectType == SolutionProjectType.WebProject) 1625if ((referencedProject.ProjectType == SolutionProjectType.KnownToBeMSBuildFormat) || 1626((referencedProject.ProjectType == SolutionProjectType.Unknown) && (referencedProject.CanBeMSBuildProjectFile(out _)))) 2133if (project.ProjectType == SolutionProjectType.WebDeploymentProject)
Graph\GraphBuilder.cs (1)
359if (dependencyProject.ProjectType == SolutionProjectType.KnownToBeMSBuildFormat)
Microsoft.Build.Engine.UnitTests (17)
Construction\SolutionFile_NewParser_Tests.cs (1)
87solution.ProjectsInOrder[0].ProjectType.ShouldBe(SolutionProjectType.WebProject);
Construction\SolutionFile_OldParser_Tests.cs (16)
42proj.ProjectType.ShouldBe(SolutionProjectType.Unknown); 83proj.ProjectType.ShouldBe(SolutionProjectType.KnownToBeMSBuildFormat); 102proj.ProjectType.ShouldBe(SolutionProjectType.Unknown); 158proj.ProjectType.ShouldBe(SolutionProjectType.Unknown); 721proj.ProjectType.ShouldBe(SolutionProjectType.Unknown); 784proj.ProjectType.ShouldBe(SolutionProjectType.Unknown); 983solution.ProjectsInOrder[0].ProjectType.ShouldBe(SolutionProjectType.KnownToBeMSBuildFormat); 991solution.ProjectsInOrder[1].ProjectType.ShouldBe(SolutionProjectType.KnownToBeMSBuildFormat); 999solution.ProjectsInOrder[2].ProjectType.ShouldBe(SolutionProjectType.KnownToBeMSBuildFormat); 1007solution.ProjectsInOrder[3].ProjectType.ShouldBe(SolutionProjectType.KnownToBeMSBuildFormat); 1077solution.ProjectsInOrder[1].ProjectType.ShouldBe(SolutionProjectType.SolutionFolder); 1089solution.ProjectsInOrder[3].ProjectType.ShouldBe(SolutionProjectType.SolutionFolder); 1543solution.ProjectsInOrder[0].ProjectType.ShouldBe(SolutionProjectType.WebProject); 1626solution.ProjectsInOrder[0].ProjectType.ShouldBe(SolutionProjectType.WebProject); 1629solution.ProjectsInOrder[1].ProjectType.ShouldBe(SolutionProjectType.SolutionFolder); 1632solution.ProjectsInOrder[2].ProjectType.ShouldBe(SolutionProjectType.WebProject);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.cs (1)
202if (project.ProjectType == MSB.Construction.SolutionProjectType.SolutionFolder)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
BuildHost.cs (1)
152if (project.ProjectType != SolutionProjectType.SolutionFolder)