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)
48if (context.Data.EvaluatedProperties.TryGetValue(PropertyNames.TargetFrameworks, out frameworks) && 50context.Data.EvaluatedProperties.TryGetValue(PropertyNames.TargetFramework, out framework) && 52!context.Data.GlobalProperties.ContainsKey(PropertyNames.TargetFramework))
BuildCheck\Checks\TargetFrameworkUnexpectedCheck.cs (3)
55if ((context.Data.EvaluatedProperties.TryGetValue(PropertyNames.TargetFrameworks, out frameworks) || 56context.Data.EvaluatedProperties.TryGetValue(PropertyNames.TargetFramework, out framework)) && 67=> evaluatedProperties.TryGetValue(PropertyNames.UsingMicrosoftNETSdk, out string? usingSdkStr) &&
Graph\GraphBuilder.cs (3)
447if (globalPropertyDictionary.GetProperty(PropertyNames.IsGraphBuild) == null) 449globalPropertyDictionary[PropertyNames.IsGraphBuild] = ProjectPropertyInstance.Create(PropertyNames.IsGraphBuild, "true");
Graph\ProjectInterpretation.cs (7)
209string targetFrameworksValue = projectInstanceForDiscovery.GetPropertyValue(PropertyNames.TargetFrameworks); 218outerBuildProperties.Remove(PropertyNames.TargetFramework); 228string targetFrameworkValue = projectInstanceForDiscovery.GetPropertyValue(PropertyNames.TargetFramework); 235singleTargetProperties.Remove(PropertyNames.TargetFramework); 259return project.GetPropertyValue(PropertyNames.InnerBuildProperty); 264return project.GetPropertyValue(project.GetPropertyValue(PropertyNames.InnerBuildPropertyValues)); 653MSBuildStringIsTrue(projectInstance.GetEngineRequiredPropertyValue(PropertyNames.UsingMicrosoftNETSdk)) &&
Microsoft.Build.Tasks.Core (1)
MSBuild.cs (1)
284.TryGetValue(PropertyNames.BuildNonexistentProjectsByDefault, out var buildNonexistentProjectsByDefault) &&
MSBuild (2)
XMake.cs (2)
2023if (!entryPoint.GlobalProperties.ContainsKey(PropertyNames.IsGraphBuild)) 2025entryPoint.GlobalProperties[PropertyNames.IsGraphBuild] = "true";