Fix failed - Workload Install failed: `dotnet workload install --from-rollback-file "C:\Users\User\AppData\Local\Temp\maui-check-db890925\workload.json" android-aot ios maccatalyst tvos macos maui --source "https://api.nuget.org/v3/index.json"`
See original GitHub issueRecommendation: Install or Update SDK Workloads
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
! Attempt to fix? [y/n] (y): y
» Attempting to fix: .NET SDK - Workloads (6.0.200)
SHELL: C:\Program Files\dotnet\dotnet.exe workload install --from-rollback-file “C:\Users\User\AppData\Local\Temp\maui-check-db890925\workload.json” android-aot ios maccatalyst tvos macos maui --source “https://api.nuget.org/v3/index.json”
Workload ID android-aot is not recognized.
Fix failed - Workload Install failed: dotnet workload install --from-rollback-file "C:\Users\User\AppData\Local\Temp\maui-check-db890925\workload.json" android-aot ios maccatalyst tvos macos maui --source "https://api.nuget.org/v3/index.json"
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
! There were one or more problems detected. Please review the errors and correct them and run maui-check again.
Press enter to exit…
I get above error from the CMD. How can I fix it?
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:11
Same problem here.
Some version information, if it helps troubleshoot:
maui-check v0.10.0.0 MacBook Pro (14-inch, 2021) macOS 12.4 Apple M1 Pro.
Attached some screenshots as well, to verify I’m not doing anything horribly stupid.
For what it’s worth, I use Rider and I’m following the instructions here: https://blog.jetbrains.com/dotnet/2022/05/25/macos-environment-setup-for-maui-development
/
Ya I ended up doing that too. Thought VS is not as nice as coding in Rider. I think rider has improved this workflow, so hoping to try it soon. But microsoft has been moving faster with the tools to support maui dev.