17 references to GlobalProperties
Microsoft.Build (15)
BackEnd\BuildManager\BuildManager.cs (1)
1467config.GlobalProperties,
BackEnd\Components\Logging\LoggingService.cs (1)
1295s_projectStartedEventArgsGlobalProperties.Value.SetValue(projectStartedEventArgs, buildRequestConfiguration.GlobalProperties.ToDictionary(), index: null);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
568IDictionary<string, string> globalProperties = buildRequestConfiguration.GlobalProperties.ToDictionary();
BackEnd\Components\ProjectCache\ProjectCacheService.cs (6)
329Dictionary<string, string> globalProperties = new(configuration.GlobalProperties.Count, StringComparer.OrdinalIgnoreCase); 330foreach (ProjectPropertyInstance property in configuration.GlobalProperties) 426string? designTimeBuild = buildRequestConfiguration.GlobalProperties[DesignTimeProperties.DesignTimeBuild]?.EvaluatedValue; 427string? buildingProject = buildRequestConfiguration.GlobalProperties[DesignTimeProperties.BuildingProject]?.EvaluatedValue; 622var globalProperties = new Dictionary<string, string>(configuration.GlobalProperties.Count, StringComparer.OrdinalIgnoreCase); 623foreach (ProjectPropertyInstance property in configuration.GlobalProperties)
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
687return _requestEntry.RequestConfiguration.GlobalProperties.ToDictionary();
BackEnd\Components\Scheduler\Scheduler.cs (3)
1770config.GlobalProperties.ToDictionary().Select(kvp => $"{kvp.Key}={kvp.Value}")); 2047return string.Join("; ", configuration.GlobalProperties.Select<ProjectPropertyInstance, string>(p => $"{p.Name}={p.EvaluatedValue}")); 2707foreach (ProjectPropertyInstance property in _configCache[config].GlobalProperties)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
456foreach (ProjectPropertyInstance property in GlobalProperties)
BackEnd\Shared\ConfigurationMetadata.cs (1)
28_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(configuration.GlobalProperties);
Microsoft.Build.Engine.UnitTests (2)
BackEnd\BuildRequestConfiguration_Tests.cs (1)
176Assert.Equal(props.Count, Helpers.MakeList((IEnumerable<ProjectPropertyInstance>)(config1.GlobalProperties)).Count);
BackEnd\RequestBuilder_Tests.cs (1)
382properties[i] = new PropertyDictionary<ProjectPropertyInstance>(_newRequests[i].Config.GlobalProperties);