18 references to GlobalProperties
Microsoft.Build (16)
BackEnd\BuildManager\BuildManager.cs (1)
1478config.GlobalProperties,
BackEnd\Components\Logging\LoggingService.cs (1)
1354s_projectStartedEventArgsGlobalProperties.Value.SetValue(projectStartedEventArgs, buildRequestConfiguration.GlobalProperties.ToDictionary(), index: null);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
581IDictionary<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; 625var globalProperties = new Dictionary<string, string>(configuration.GlobalProperties.Count, StringComparer.OrdinalIgnoreCase); 626foreach (ProjectPropertyInstance property in configuration.GlobalProperties)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1109bool isRestoring = _requestEntry.RequestConfiguration.GlobalProperties[MSBuildConstants.MSBuildIsRestoring] is not null;
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}")); 2721foreach (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);