-
Notifications
You must be signed in to change notification settings - Fork 33
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
Pin .NET Core SDK to 3.1.* feature band and patch level #24
Conversation
Ok, this does not compile on AppVeyor until AppVeyor updates the |
Yeah, it's an annoying tradeoff - it depends if you prioritise user (contributor) experience, in which case you should pin to the minimal version possible and allow floating higher; or build repeatability, in which case you should lock it down hard to a minor version. Personally, I'm very much in favour of the former, but I know some people are passionate about the latter 🙂 |
@andrewlock I agree with your preference for the former (i.e. relaxing the SDK version constraints). The Microsoft documentation page that I referenced above even states:
I couldn't figure out from the repo's history why the |
I’d go with We did the same over in serilog/serilog |
Pin the .NET Core SDK version to 3.1.*, not allowing prerelease versions.
899e478
to
11b2787
Compare
@adamchester I have changed the PR accordingly. Sounds like a reasonable compromise for now. It would still be interesting to hear the reason for having |
I can’t say why it was added here. However, I often add it (global json and pinning), and my reasons are to help inform myself and others which versions are/were required, and to help keep CI builds more (but not necessarily 100%) repeatable. It’s a trade off for sure. Reasonable people can have different opinions. I personally don’t always fall into the camp of pinning, but I usually do. |
Behavior's changed a bit as .NET SDKs have evolved in the past few years. |
Update the pinned .NET Core SDK to the
3.1.3??
feature band. Do not allow prereleases.