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