forked from roslynpad/roslynpad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b6f1ea0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script
When installing the sdk using dotnet-script, the default installation destination is
For Windows, "%LocalAppData%\Microsoft\dotnet".
For Linux or macOS, "$HOME/.dotnet".
for Linux and macOS.
Therefore, searching only under programfiles is not sufficient.
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-environment-variables
If dotnet is installed in an existing location other than, for example, "Program Files," it can be handled by defining the "DOTNET_ROOT" and "DOTNET_HOST_PATH" environment variables.
So, check "DOTNET_ROOT" in "PlatformsFactory.cs" and correspond to the sdk installed in a location other than the default location.