-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Confusing/inconsistent .NET versions preinstalled, depending on os/version #9834
Comments
Hey @bkoelman! Good catch. Somehow we missed .NET SDK 8.0 on As for other mentioned questions:
|
Thanks for the clarifications. I've run
To summarize:
One other thing that surprised me: At Available Images, |
Hey @bkoelman! I'm happy to bring some info into light.
Since it I'm going to close it now as partially |
Description
Looking at the master branch, these are the .NET versions currently preinstalled:
This makes it impossible to "just" run a multi-targeted app against all .NET runtimes that aren't out of support on all OSes. To enable that, we need to manually install the desired versions upfront, but then what's the point of preinstalling them? Why not just install the same set everywhere? I'd expect the latest versions of .NET 6 and 8 preinstalled, possibly also .NET 7 because it's still pretty young.
Note the documented versions on Windows2022 don't match with
toolset.json
. And I wonder why multiple patch versions are listed in Readme.md. Are those SDKs or runtimes, and are they really all installed?Running
dotnet build
viaDotNetCoreCLI@2
task from Azure DevOps logs the following line:This looks pretty inconsistent as well, not mentioning any of the more recent versions that aren't installed.
Platforms affected
Runner images affected
Image version and build link
RicoSuter/NSwag#4891
Is it regression?
no
Expected behavior
Recent patch version of .NET SDK/runtime preinstalled for all .NET versions that aren't out of support, on all OSes.
Actual behavior
A confusing mix of preinstalled versions per image os/version, so we need to manually install dependent versions for a consistent experience.
The text was updated successfully, but these errors were encountered: