Open ChristophSchmidpeter opened 1 year ago
cc @steveisok
@ChristophSchmidpeter I can only speak for the ios / tvos / maccatalyst ones. The reason why they don't appear on linux is by design as they all require osx / xcode to build. The reason why it's available on windows is that we have some proxying magic that communicates with an osx machine to do the real work.
@rolfbjarne do you know why the macos workload shows up? That doesn't make sense.
@rolfbjarne do you know why the macos workload shows up? That doesn't make sense.
I have no idea, we don't do anything differently for the macos
workload :/
The reason why they don't appear on linux is by design as they all require osx / xcode to build.
@steveisok that sounds logical but linux already has a macos
workload, even if it has the same requirements ;-)
The reason why it's available on windows is that we have some proxying magic that communicates with an osx machine to do the real work.
AFAIK that proxying magic is only for iOS (not tvOS) nor Mac Catalyst.
So I'm pretty sure Windows got all the workloads just because it makes it easier to load projects with multiple target frameworks.
It would make it a lot easier to develop for/from Linux if those (subset?) workloads where made available :)
Description
On Linux, there seem to be particular workloads missing. Running
dotnet workload search
there (tested on Arch Linux) only returns:In contrast, however,
dotnet workload search
e.g. on Windows returns:This causes projects relying on the missing workloads fail to build on Linux (e.g. net-7.0-ios missing for Fabulois.Avalonia).
Are the missing workloads supposed to be available on Linux? If not, are they not made available for technical / effort reasons, and are they are planned to be included for future .NET releases?
Reproduction Steps
See above.
Expected behavior
Missing workloads are available on Linux too.
Actual behavior
Workloads are missing.
Regression?
No response
Known Workarounds
No response
Configuration
dotnet: 7.0.103 (via packages: community/{dotnet-sdk,dotnet-runtime,dotnet-targeting-pack,dotnet-runtime} 7.0.3.sdk103-1) OS: Arch Linux
Other information
No response