20 references to PropertyNames
Microsoft.Build (17)
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
325
.TryGetValue(
PropertyNames
.BuildNonexistentProjectsByDefault, out var buildNonexistentProjectsByDefault) &&
BuildCheck\Checks\TargetFrameworkConfusionCheck.cs (3)
48
if (context.Data.EvaluatedProperties.TryGetValue(
PropertyNames
.TargetFrameworks, out frameworks) &&
50
context.Data.EvaluatedProperties.TryGetValue(
PropertyNames
.TargetFramework, out framework) &&
52
!context.Data.GlobalProperties.ContainsKey(
PropertyNames
.TargetFramework))
BuildCheck\Checks\TargetFrameworkUnexpectedCheck.cs (3)
54
if ((context.Data.EvaluatedProperties.TryGetValue(
PropertyNames
.TargetFrameworks, out frameworks) ||
55
context.Data.EvaluatedProperties.TryGetValue(
PropertyNames
.TargetFramework, out framework)) &&
66
=> evaluatedProperties.TryGetValue(
PropertyNames
.UsingMicrosoftNETSdk, out string? usingSdkStr) &&
Graph\GraphBuilder.cs (3)
439
if (globalPropertyDictionary.GetProperty(
PropertyNames
.IsGraphBuild) == null)
441
globalPropertyDictionary[
PropertyNames
.IsGraphBuild] = ProjectPropertyInstance.Create(
PropertyNames
.IsGraphBuild, "true");
Graph\ProjectInterpretation.cs (7)
208
string targetFrameworksValue = projectInstanceForDiscovery.GetPropertyValue(
PropertyNames
.TargetFrameworks);
217
outerBuildProperties.Remove(
PropertyNames
.TargetFramework);
227
string targetFrameworkValue = projectInstanceForDiscovery.GetPropertyValue(
PropertyNames
.TargetFramework);
234
singleTargetProperties.Remove(
PropertyNames
.TargetFramework);
258
return project.GetPropertyValue(
PropertyNames
.InnerBuildProperty);
263
return project.GetPropertyValue(project.GetPropertyValue(
PropertyNames
.InnerBuildPropertyValues));
642
MSBuildStringIsTrue(projectInstance.GetEngineRequiredPropertyValue(
PropertyNames
.UsingMicrosoftNETSdk)) &&
Microsoft.Build.Tasks.Core (1)
MSBuild.cs (1)
284
.TryGetValue(
PropertyNames
.BuildNonexistentProjectsByDefault, out var buildNonexistentProjectsByDefault) &&
MSBuild (2)
XMake.cs (2)
1806
if (!entryPoint.GlobalProperties.ContainsKey(
PropertyNames
.IsGraphBuild))
1808
entryPoint.GlobalProperties[
PropertyNames
.IsGraphBuild] = "true";