1 write to GlobalProperties
Microsoft.DotNet.Cli.Utils (1)
MSBuildArgs.cs (1)
28GlobalProperties = properties;
26 references to GlobalProperties
dotnet (8)
Commands\Pack\PackCommand.cs (1)
68ReleasePropertyProjectLocator projectLocator = new(msbuildArgs.GlobalProperties, MSBuildPropertyNames.PACK_RELEASE,
Commands\Publish\PublishCommand.cs (1)
80var projectLocator = new ReleasePropertyProjectLocator(msbuildArgs.GlobalProperties, MSBuildPropertyNames.PUBLISH_RELEASE, options);
Commands\Restore\RestoringCommand.cs (2)
121msbuildArgs.GlobalProperties? 137=> msbuildArgs.GlobalProperties?.Keys.Any(IsPropertyExcludedFromRestore) ?? false;
Commands\Run\CommonRunHelpers.cs (1)
19var globalProperties = msbuildArgs.GlobalProperties?.ToDictionary() ?? new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
Commands\Run\RunCommand.cs (1)
1117var globalProperties = MSBuildArgs.GlobalProperties?.ToDictionary() ?? new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
Commands\Run\VirtualProjectBuildingCommand.cs (2)
291MSBuildArgs.GlobalProperties, 778var 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. 166properties: GlobalProperties, 187GlobalProperties, 200GlobalProperties, 218GlobalProperties, 232GlobalProperties, 250GlobalProperties, 268GlobalProperties, 279if (GlobalProperties is null) 294var newProperties = new Dictionary<string, string>(GlobalProperties, StringComparer.OrdinalIgnoreCase); 318GlobalProperties, 333GlobalProperties, 348GlobalProperties, 370RestoreGlobalProperties = GlobalProperties; 373else if (GlobalProperties is not null && GlobalProperties.Count > 0) 377var newdict = new Dictionary<string, string>(GlobalProperties, StringComparer.OrdinalIgnoreCase);
MSBuildForwardingAppWithoutLogging.cs (1)
93.. msbuildArgs.GlobalProperties?.Select(kvp => EmitProperty(kvp)) ?? [],