2 implementations of EnvironmentVariable
Microsoft.DotNet.Cli.Utils (2)
BuiltInCommand.cs (1)
164public ICommand EnvironmentVariable(string name, string? value)
Command.cs (1)
100public ICommand EnvironmentVariable(string name, string? value)
5 references to EnvironmentVariable
dotnet (5)
Commands\Run\RunCommand.cs (5)
421command.EnvironmentVariable("ASPNETCORE_URLS", projectSettings.ApplicationUrl); 427command.EnvironmentVariable("DOTNET_LAUNCH_PROFILE", launchSettings.LaunchProfileName); 431command.EnvironmentVariable(entry.Key, entry.Value); 438command.EnvironmentVariable(name, value); 664command.EnvironmentVariable(rootVariableName, Path.GetDirectoryName(new Muxer().MuxerPath));