-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
If sdk version specified in global.json is not found, latest sdk is used silently #2771
Comments
@livarcocc Please triage for milestone and assign to appropriate individual. |
This is higher priority than dotnet/core-setup#2336 |
This is blocking .NET Core 2.0 ZBB on 5/10. @nguerrera @gkhanna79 any preferences? |
Livar should chime in.
|
It is not trivial enough to be filed on May 9 @ 5 PM and fixed by May 10. ;) Track it however appropriate, but it needs to be fixed. @johnbeisner is working on it. |
OK, seems non-trivial. Given it came in late, I'm marking it as Post-ZBB. |
…out if not found. And search the multilevel sdk lookup to find that specified version. Addresses: https://github.com/dotnet/core-setup/issues/2334 https://github.com/dotnet/core-setup/issues/2336
cherry-pick the changes to release/2.0.0 |
…out if not found. And search the multilevel sdk lookup to find that specified version. Addresses: https://github.com/dotnet/core-setup/issues/2334 https://github.com/dotnet/core-setup/issues/2336
Steps to reproduce
dotnet --version
(or more generally, use any cli verb and see which sdk it uses)Expected behavior
An error is reported indicating that the version specified in global.json is not present
Actual behavior
It just uses latest SDK instead (effectively ignoring global.json)
Scenarios
Environment data
@eerhardt @gkhanna79 @livarcocc @johnbeisner @dsplaisted
The text was updated successfully, but these errors were encountered: