2 implementations of EnvironmentVariable
Microsoft.DotNet.Cli.Utils (2)
BuiltInCommand.cs (1)
166public ICommand EnvironmentVariable(string name, string? value)
Command.cs (1)
102public ICommand EnvironmentVariable(string name, string? value)
5 references to EnvironmentVariable
dotnet (5)
Commands\Run\RunCommand.cs (5)
164targetCommand.EnvironmentVariable(name, value); 192targetCommand.EnvironmentVariable("ASPNETCORE_URLS", launchSettings.ApplicationUrl); 195targetCommand.EnvironmentVariable("DOTNET_LAUNCH_PROFILE", launchSettings.LaunchProfileName); 201targetCommand.EnvironmentVariable(entry.Key, value); 462command.EnvironmentVariable(rootVariableName, Path.GetDirectoryName(new Muxer().MuxerPath));