22 references to PropertyNames
Microsoft.Build (13)
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
334.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)
427if (globalPropertyDictionary.GetProperty(PropertyNames.IsGraphBuild) == null) 429globalPropertyDictionary[PropertyNames.IsGraphBuild] = ProjectPropertyInstance.Create(PropertyNames.IsGraphBuild, "true");
Graph\ProjectInterpretation.cs (3)
218return project.GetPropertyValue(PropertyNames.InnerBuildProperty); 223return project.GetPropertyValue(project.GetPropertyValue(PropertyNames.InnerBuildPropertyValues)); 559MSBuildStringIsTrue(projectInstance.GetEngineRequiredPropertyValue(PropertyNames.UsingMicrosoftNETSdk)) &&
Microsoft.Build.Engine.UnitTests (6)
BackEnd\MSBuild_Tests.cs (2)
1960project.SetGlobalProperty(PropertyNames.BuildNonexistentProjectsByDefault, bool.TrueString); 1988project.SetGlobalProperty(PropertyNames.BuildNonexistentProjectsByDefault, b.ToString());
Graph\GraphTestingUtilities.cs (1)
20public static readonly ImmutableDictionary<string, string> EmptyGlobalProperties = new Dictionary<string, string> { { PropertyNames.IsGraphBuild, "true" } }.ToImmutableDictionary();
Graph\ProjectGraph_Tests.cs (3)
2333expectedGlobalProperties[PropertyNames.IsGraphBuild] = "true"; 2350new Dictionary<string, string> { { PropertyNames.IsGraphBuild, "xyz" } }); 2352projectGraph.ProjectNodes.First().ProjectInstance.GlobalProperties[PropertyNames.IsGraphBuild].ShouldBe("xyz");
Microsoft.Build.Tasks.Core (1)
MSBuild.cs (1)
300.TryGetValue(PropertyNames.BuildNonexistentProjectsByDefault, out var buildNonexistentProjectsByDefault) &&
MSBuild (2)
XMake.cs (2)
1564if (!entryPoint.GlobalProperties.ContainsKey(PropertyNames.IsGraphBuild)) 1566entryPoint.GlobalProperties[PropertyNames.IsGraphBuild] = "true";