Skip to content
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

Add .NET 6 for macOS virtual environments #5193

Closed
3 of 9 tasks
AlexSrizhevskiy opened this issue Mar 8, 2022 · 3 comments
Closed
3 of 9 tasks

Add .NET 6 for macOS virtual environments #5193

AlexSrizhevskiy opened this issue Mar 8, 2022 · 3 comments

Comments

@AlexSrizhevskiy
Copy link

Tool name

.NET 6

Tool license

free

Add or update?

  • Add
  • Update

Desired version

.NET 6

Approximate size

No response

Brief description of tool

No response

URL for tool's homepage

No response

Provide a basic test case to validate the tool's functionality.

No response

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

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

@maxim-lobanov
Copy link
Contributor

Hello @AlexSrizhevskiy , have you considered using actions/setup-dotnet task? It is recommended approach to get specific .NET Core version

@mikhailkoliada
Copy link
Contributor

Hi @AlexSrizhevskiy, please use the setup-dotnet task for the time being as recommended by @maxim-lobanov .Net 6 will be available later this year with the VS 2022 for macOS.

@mattjohnsonpint
Copy link

mattjohnsonpint commented May 20, 2022

I don't understand this decision. If .NET 6 SDK is kept updated for Ubuntu (see @Steve-Glass 's comment on the related issue here: #4424 (comment)), then why would you not do the same for macOS? We don't need Visual Studio for Mac to use .NET on macOS.

In particular, we need .NET SDK version 6.0.300 on the macOS environments, to build .NET MAUI applications for net6.0-ios and net6.0-maccatalyst targets. (Specifically on macos-12 environment, because we also need the Xcode 13.3 dependency.)

Sure, I can use setup-dotnet to put 6.0.300 on the image, but I shouldn't have to.

jidicula added a commit to jidicula/dotfiles that referenced this issue Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants