Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
The Community Toolkit targets five OSes:
- iOS
- Android
- Windows
- macOS
- Tizen
Developing for all of these is a supported scenario on Windows, and developing for all of these except Windows is supported on macOS. Development for Android and Tizen is also supported on Linux; however this is not currently possible as macOS and iOS are included TFMs on every OS platform.
Attempted to compile (even targetting Android) fails on Linux as the macOS and iOS workloads are not available.
Expected Behavior
Solution should build when the TFM is supported.
Steps To Reproduce
- Clone the repo on a Linux OS
- Attempt to build the sample (or libraries) targeting Android (
dotnet build -f net10.0-android)
- Observe several compiler errors related to iOS and macOS
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui
Environment
- .NET MAUI CommunityToolkit: any
- OS: Linux
- .NET MAUI: any
Anything else?
This may be limited in scope (i.e. probably just affecting me right now having switched to Linux as my faily driver), but with the Avalonia backend now providing a Linux desktop in preview, this will become more important.
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
The Community Toolkit targets five OSes:
Developing for all of these is a supported scenario on Windows, and developing for all of these except Windows is supported on macOS. Development for Android and Tizen is also supported on Linux; however this is not currently possible as macOS and iOS are included TFMs on every OS platform.
Attempted to compile (even targetting Android) fails on Linux as the macOS and iOS workloads are not available.
Expected Behavior
Solution should build when the TFM is supported.
Steps To Reproduce
dotnet build -f net10.0-android)Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui
Environment
Anything else?
This may be limited in scope (i.e. probably just affecting me right now having switched to Linux as my faily driver), but with the Avalonia backend now providing a Linux desktop in preview, this will become more important.