Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set defaultDotNetSDKRoot on Linux correctly #576

Merged
merged 1 commit into from
Mar 22, 2020

Conversation

Krzysztof-Cieslak
Copy link
Member

No description provided.

@brpratt
Copy link
Contributor

brpratt commented Mar 21, 2020

Thanks for the quick turnaround! Really appreciate all the work you put into this.

/usr/share/dotnet is probably the best default option for PlatformID.Unix. Unfortunately, there doesn't seem to be perfect consistency here. For example, these Red Hat docs suggest that the .NET Core SDK is installed into a different directory:

$ dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.1.100
 Commit:    xxxxxxxxxx

Runtime Environment:
 OS Name:     rhel
 OS Version:  7
 OS Platform: Linux
 RID:         rhel.7-x64
 Base Path:   /opt/rh/rh-dotnet31/root/usr/lib64/dotnet/sdk/3.1.100/

Host (useful for support):
  Version: 3.1.0
  Commit:  xxxxxxxxxx

.NET Core SDKs installed:
  3.1.100 [/opt/rh/rh-dotnet31/root/usr/lib64/dotnet/sdk]

Probably not too many people using RH for their dev box though.

@Krzysztof-Cieslak Krzysztof-Cieslak merged commit 8512e3e into master Mar 22, 2020
@Krzysztof-Cieslak Krzysztof-Cieslak deleted the defaultDotNetRootLinux branch March 22, 2020 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants