-
Notifications
You must be signed in to change notification settings - Fork 209
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
Update the global.json #172
Update the global.json #172
Conversation
@nblumhardt |
Thanks! |
Sorry, been busy lately so not been keeping up with these changes! Personally, I don't think updating the global.json here was the correct thing to do.I feel like we should use the lowest version of the global.json that allows the app to build? At the very least, we shouldn't be mandating a patch version. .NET Core 3.0 introduced greater control over that (I wrote a post about it recently) https://andrewlock.net/exploring-the-new-rollforward-and-allowprerelease-settings-in-global-json/ so I think we could quite happily just require any 3.0 to build, and use the default |
Do you want a rollback PR ? |
It's up for discussion I think, but i'm not up to speed on everything that's happening at the moment 🙂 Personally I think trying to align everything in a library project is kind of futile - once the library is used in an app, the actual version that gets used is hugely dependent on all the other versions available (and the version of the .NET Core SDK/runtime installed!) My preference is to specify the lowest possible version of dependencies (including NuGet packages) that will work, then allow the framework to "pull up" the patch version. e.g. if we specify v. 3.0.0 of the |
Yep, I understand that too, as you said it's more a discussion and choice for actual maintainer Regarding 3.0 I probably won't agree as it will reach end of life in less than a month. That would also make it very easy to drop a TFM moniker support once it has reached its EOL |
Update the global.json so that the SDK match package that are actually used