Open
Description
Describe the bug
I just recently added support for populating an environment variable (DOTNET_LAUNCH_PROFILE
) when a developer uses dotnet run
or dotnet watch
. I was testing this feature out with the nightly build and found an inconsistency between dotnet watch
and dotnet run
. If I specify a launch profile on the command-line that does not exist in dotnet watch
it will populate the variable with the launch profile that is actually selected (by default the first in the list). Unfortunately I didn't implement the same behavior with dotnet run
so the variable isn't populated.
Capturing the problem in this issue and self-assigning to get in before RC2.