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)
55
if ((context.Data.EvaluatedProperties.TryGetValue(
PropertyNames
.TargetFrameworks, out frameworks) ||
56
context.Data.EvaluatedProperties.TryGetValue(
PropertyNames
.TargetFramework, out framework)) &&
67
=> evaluatedProperties.TryGetValue(
PropertyNames
.UsingMicrosoftNETSdk, out string? usingSdkStr) &&
Graph\GraphBuilder.cs (3)
447
if (globalPropertyDictionary.GetProperty(
PropertyNames
.IsGraphBuild) == null)
449
globalPropertyDictionary[
PropertyNames
.IsGraphBuild] = ProjectPropertyInstance.Create(
PropertyNames
.IsGraphBuild, "true");
Graph\ProjectInterpretation.cs (7)
209
string targetFrameworksValue = projectInstanceForDiscovery.GetPropertyValue(
PropertyNames
.TargetFrameworks);
218
outerBuildProperties.Remove(
PropertyNames
.TargetFramework);
228
string targetFrameworkValue = projectInstanceForDiscovery.GetPropertyValue(
PropertyNames
.TargetFramework);
235
singleTargetProperties.Remove(
PropertyNames
.TargetFramework);
259
return project.GetPropertyValue(
PropertyNames
.InnerBuildProperty);
264
return project.GetPropertyValue(project.GetPropertyValue(
PropertyNames
.InnerBuildPropertyValues));
653
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)
2023
if (!entryPoint.GlobalProperties.ContainsKey(
PropertyNames
.IsGraphBuild))
2025
entryPoint.GlobalProperties[
PropertyNames
.IsGraphBuild] = "true";