1 write to GlobalProperties
Microsoft.DotNet.Cli.Utils (1)
MSBuildArgs.cs (1)
28
GlobalProperties
= properties;
26 references to GlobalProperties
dotnet (8)
Commands\Pack\PackCommand.cs (1)
68
ReleasePropertyProjectLocator projectLocator = new(msbuildArgs.
GlobalProperties
, MSBuildPropertyNames.PACK_RELEASE,
Commands\Publish\PublishCommand.cs (1)
80
var projectLocator = new ReleasePropertyProjectLocator(msbuildArgs.
GlobalProperties
, MSBuildPropertyNames.PUBLISH_RELEASE, options);
Commands\Restore\RestoringCommand.cs (2)
121
msbuildArgs.
GlobalProperties
?
137
=> msbuildArgs.
GlobalProperties
?.Keys.Any(IsPropertyExcludedFromRestore) ?? false;
Commands\Run\CommonRunHelpers.cs (1)
19
var globalProperties = msbuildArgs.
GlobalProperties
?.ToDictionary() ?? new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
Commands\Run\RunCommand.cs (1)
1117
var globalProperties = MSBuildArgs.
GlobalProperties
?.ToDictionary() ?? new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
Commands\Run\VirtualProjectBuildingCommand.cs (2)
291
MSBuildArgs.
GlobalProperties
,
778
var cacheEntry = new RunFileBuildCacheEntry(MSBuildArgs.
GlobalProperties
?.ToDictionary(StringComparer.OrdinalIgnoreCase) ?? new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase))
Microsoft.DotNet.Cli.Utils (18)
MSBuildArgs.cs (17)
48
/// If this is non-empty, all <see cref="
GlobalProperties
"/> flags should be passed as <c>-rp</c> as well.
166
properties:
GlobalProperties
,
187
GlobalProperties
,
200
GlobalProperties
,
218
GlobalProperties
,
232
GlobalProperties
,
250
GlobalProperties
,
268
GlobalProperties
,
279
if (
GlobalProperties
is null)
294
var newProperties = new Dictionary<string, string>(
GlobalProperties
, StringComparer.OrdinalIgnoreCase);
318
GlobalProperties
,
333
GlobalProperties
,
348
GlobalProperties
,
370
RestoreGlobalProperties =
GlobalProperties
;
373
else if (
GlobalProperties
is not null &&
GlobalProperties
.Count > 0)
377
var newdict = new Dictionary<string, string>(
GlobalProperties
, StringComparer.OrdinalIgnoreCase);
MSBuildForwardingAppWithoutLogging.cs (1)
93
.. msbuildArgs.
GlobalProperties
?.Select(kvp => EmitProperty(kvp)) ?? [],