-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Removes usage of DOTNET_HOME in CLI repo. #1478
Conversation
@@ -25,7 +25,6 @@ | |||
</RegistryKey> | |||
|
|||
<Environment Id="E_PATH" Name="PATH" Value="[DOTNETHOME]bin" Part="last" Action="set" System="yes" /> | |||
<Environment Id="E_DOTNET_HOME" Name="DOTNET_HOME" Value="[DOTNETHOME]" Part="all" Action="set" System="yes" /> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
In corehost.md Runtime resolution is controlled by these environment variables:
The runtime is located by searching the following paths in order, where
|
How come you have lesser files? I have these...
|
Nuts. I was going to use this in dotnet/efcore#4602 to find the location of |
DOTNET_HOME is no longer required, though it is a documented override, so this change removes all unnecessary references to DOTNET_HOME from the CLI Repo.
6308a8a
to
7a9a501
Compare
LGTM. There are a couple of uses in the corehost cpp files, but they are only useful for internal purposes. |
@bricelam you just made me very glad I did this PR today :) take a look at src/Microsoft.Dotnet.Cli.Utils/CoreHost.cs |
LGTM |
Removes usage of DOTNET_HOME in CLI repo.
DOTNET_HOME is no longer required, though it is a documented override, so this change removes all unnecessary references to DOTNET_HOME from the CLI Repo.
/cc @brthor @gkhanna79 @schellap @Sridhar-MS @robmen @davidfowl