18 references to GlobalProperties
Microsoft.Build (16)
BackEnd\BuildManager\BuildManager.cs (1)
1479
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)
330
Dictionary<string, string> globalProperties = new(configuration.
GlobalProperties
.Count, StringComparer.OrdinalIgnoreCase);
331
foreach (ProjectPropertyInstance property in configuration.
GlobalProperties
)
427
string? designTimeBuild = buildRequestConfiguration.
GlobalProperties
[DesignTimeProperties.DesignTimeBuild]?.EvaluatedValue;
428
string? buildingProject = buildRequestConfiguration.
GlobalProperties
[DesignTimeProperties.BuildingProject]?.EvaluatedValue;
626
var globalProperties = new Dictionary<string, string>(configuration.
GlobalProperties
.Count, StringComparer.OrdinalIgnoreCase);
627
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
);