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