sdk: Workload ID maui-android is not recognized
Description
analogous to dotnet/maui#3099 we again get “Workload ID maui-android is not recognized.” when running:
~$ dotnet workload install maui-android
Workload ID maui-android is not recognized.
interestingly the MAUI workload is not even listed when doing:
~$ dotnet workload search
Workload ID Description
----------------------------------------------------------------------------
aspire .NET Aspire SDK (Preview)
wasi-experimental workloads/wasi-experimental/description
wasm-experimental workloads/wasm-experimental/description
wasm-experimental-net7 .NET WebAssembly experimental tooling for net7.0
wasm-tools .NET WebAssembly build tools
wasm-tools-net6 .NET WebAssembly build tools for net6.0
wasm-tools-net7 .NET WebAssembly build tools for net7.0
my setup:
~$ dotnet --version --list-sdks
8.0.101
~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 23.10"
...
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.6
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 19 (4 by maintainers)
I had this same issue on Arch after installing dotnet-sdk 8.0.101 with pacman. I fixed this by downloading dotnet via the install scripts (https://dotnet.microsoft.com/en-us/download/dotnet/scripts) and copying the sdk-manifests from “~/.dotnet/sdk-manifests/8.0.100” to “/usr/share/dotnet/sdk-manifests/8.0.100”. Afterwards you are able to install maui-android. Hope this helps anyone that comes across this issue
I have the same issue with arch linux
Hey, i have the exact same problem 😃
dotnet workload install maui
In the meantime, if you need MAUI workloads I’d suggest using the dotnet-install scripts to install a ‘local install’ of the Microsoft SDK and use that.
@marcpopMSFT, as you requested I’ve listed some details about my setup. Have you any ideas what’s going on here? I find it very suspicious that a
workload searchrequest won’t find any maui workloads: