18 references to GlobalProperties
Microsoft.Build (16)
BackEnd\BuildManager\BuildManager.cs (1)
1478
config.
GlobalProperties
,
BackEnd\Components\Logging\LoggingService.cs (1)
1354
s_projectStartedEventArgsGlobalProperties.Value.SetValue(projectStartedEventArgs, buildRequestConfiguration.
GlobalProperties
.ToDictionary(), index: null);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
581
IDictionary<string, string> globalProperties = buildRequestConfiguration.
GlobalProperties
.ToDictionary();
BackEnd\Components\ProjectCache\ProjectCacheService.cs (6)
329
Dictionary<string, string> globalProperties = new(configuration.
GlobalProperties
.Count, StringComparer.OrdinalIgnoreCase);
330
foreach (ProjectPropertyInstance property in configuration.
GlobalProperties
)
426
string? designTimeBuild = buildRequestConfiguration.
GlobalProperties
[DesignTimeProperties.DesignTimeBuild]?.EvaluatedValue;
427
string? buildingProject = buildRequestConfiguration.
GlobalProperties
[DesignTimeProperties.BuildingProject]?.EvaluatedValue;
625
var globalProperties = new Dictionary<string, string>(configuration.
GlobalProperties
.Count, StringComparer.OrdinalIgnoreCase);
626
foreach (ProjectPropertyInstance property in configuration.
GlobalProperties
)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1109
bool isRestoring = _requestEntry.RequestConfiguration.
GlobalProperties
[MSBuildConstants.MSBuildIsRestoring] is not null;
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
687
return _requestEntry.RequestConfiguration.
GlobalProperties
.ToDictionary();
BackEnd\Components\Scheduler\Scheduler.cs (3)
1770
config.
GlobalProperties
.ToDictionary().Select(kvp => $"{kvp.Key}={kvp.Value}"));
2047
return string.Join("; ", configuration.
GlobalProperties
.Select<ProjectPropertyInstance, string>(p => $"{p.Name}={p.EvaluatedValue}"));
2721
foreach (ProjectPropertyInstance property in _configCache[config].
GlobalProperties
)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
456
foreach (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)
176
Assert.Equal(props.Count, Helpers.MakeList((IEnumerable<ProjectPropertyInstance>)(config1.
GlobalProperties
)).Count);
BackEnd\RequestBuilder_Tests.cs (1)
382
properties[i] = new PropertyDictionary<ProjectPropertyInstance>(_newRequests[i].Config.
GlobalProperties
);