-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 .NET SDK #10964
Comments
Hi @DaleMckeown , .Net version 9 will be added in next image roll out. thanks |
Could this be updated to include macos runners aswell? |
@thomasbach-dk My understanding is they have some specific rules for macOS images, IIRC only 1 version of .NET is allowed on them. It will likely be a decision for MSFT to make themselves when they want to swap 8 out for 9, so I don't want it to hold up the rest of the images from being deployed with .NET9. Feel free to submit a separate PR targeting macOS specifically. |
ETA? |
@DaleMckeown wait what? I never heard of something like that. Even the existing macos runners have multiple .NET versions installed. |
Any update on this? Quite sad to see anyone using GitHub runners in CI not being able to use already released .NET 9 without having to install it every time. |
@vidyasagarnimmagaddi When will the new image be released? People want to start using .NET 9. |
actually Windows runner is using .NET 9 while others is using .NET 8 |
I don't get it why every year with each new .NET version we have to use the workaround of manually installing the .NET in the existing images. Why is Microsoft not able to release new runner-images on release date? I think every developer hopes that on day-0 the whole ecosystem is .NET9 ready. |
@michaelmairegger It'd be nice if the images were ready for day-0. .NET 9 was release nearly 2 weeks ago now. You'd imagine many people are using GitHub actions/ DevOps pipelines to deploy their applications. I guess MSFT is a huge organisation (over 230,000 employees apparently) and the thinking is not as joined up as it could/should be. |
When can we expect a resolution? |
Guys, it's very simple to solve: just add into your pipeline the task "Use .NET Core" and specify the newest version (9.0.101). The specified version will be downloaded and installed in a few seconds. I'm using this in a MAUI app targeting .NET 9 in a macOS 14. It works like a charm! But I agree with you. It's strange, one month after .NET 9 launch, the SDK is not available yet. I think the same with the .NET workloads for MAUI. They're available only for Windows machines, and every time I'm using macOS to build the app, I need to install them. |
As @ionixjunior mentions just add step which pins specific version (9.0 in this case). TL;DR:
(note: leave |
Unfortunately this breaks solutions that multi-target, specifically DotNetCoreCLI task using the 'test' command. -- Sample Log from build agent. Test Project targets .NET 6, 8, and 9. Architecture: x64 Test Run Aborted. |
Hi @DaleMckeown, The latest release of .NET 9 is currently incompatible with Ubuntu and will not be included for the time being. For more details, please refer to the documentation. We are closing this issue, Thank you. |
Can you be more specific? What is incompatible in .NET 9 on Ubuntu? If there is something we should know. |
I too would like to know this. I have been manually installing .NET9 on Ubuntu images and have not run into any issues so far. |
Arbitrarily closing this item with that reason is a real amateur move. More details needed, given we can install explictly without apparent issues ( multi-targeting aside ). The Ubuntu agent is the only Linux host you offer, what else are we supposed to use! Seriously bad form |
Hi @DaleMckeown, We have added the .NET 9 version to both Ubuntu 20 and Ubuntu 22. Kindly check the PR. However, for Ubuntu 24, .NET 9 is not yet available in the package manager as it is currently not supported in the built-in Ubuntu feed. If needed, you can install it manually, use backports, or utilize setup-dotnet. For more information, please read the complete documentation. Thank you. |
Tool name
.NET SDK
Tool license
https://dotnet.microsoft.com/en-us/download/dotnet/9.0
Add or update?
Desired version
.NET9
Approximate size
No response
Brief description of tool
.NET SDK needs updating to include the recently released .NET 9 framework.
URL for tool's homepage
https://dotnet.microsoft.com/en-us/download/dotnet/9.0
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool
Runner images where you need the tool
Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: