.Net 8 build server image support for MacOS and Ubuntu
Hi there,
I’ve got a build that targets the following server images.
- macOS
- Visual Studio 2022
- Ubuntu
I’ve been looking to add a .Net 8 platform target to my project.
I see the VS 2022 (Windows) image has been updated to accommodate this.
Ubuntu and MacOS fail currently though. I think MacOS is building via VS for Mac which I don’t think has a roadmap for .Net 8 and is being retired next year.
Is there a plan to get the .Net 8 SDK available on these additional OS’s and more broadly a plan to transition away from VS for Mac?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Jason C Daniels on 20 Feb, 2024 11:05 PM
I also need .Net 8.0 support in the Ubuntu build image. (Or a script I can run to install it)
2 Posted by andrew.morrison on 21 Feb, 2024 05:45 PM
Hi Jason,
I got some advice from AppVeyor via a different channel in the end. At that point, the recommended workaround for Ubuntu was the following:
Add the following to the init step so it looks something like:
init: - sh: >- sudo apt-get update && sudo apt-get install -y dotnet-sdk-8.0
For the build server image use at least Ubuntu2004.
This worked for me.