Closed alexrp closed 7 months ago
Good call. Thanks @alexrp!
@jonsequitur any chance I can get you to push a new version with this change included? :eyes:
I just recently learned that Major
may actually be preferable to LatestMajor
. It will prefer the runtime the app was built for before rolling forward, rather than always rolling forward.
@jonsequitur do you think it would make sense to change to Major
?
I don't know if the runtime that dotnet-repl runs on affects which APIs are available to the REPL environment. If it does, then LatestMajor
may still be the right call for dotnet-repl in particular.
I'm not sure there would be much difference between these two.
I don't know if the runtime that dotnet-repl runs on affects which APIs are available to the REPL environment.
This is determined by the SDK version that the core .NET Interactive libraries are built against. Being able to work against multiple SDK versions is on the roadmap but not yet available.
On a clean system, installing .NET 8 and then dotnet-repl gets you the following:
Seems sensible to just set a roll-forward policy like this.