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
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"
#154
Comments
The same for me. VS Community Feedback team says that :
So it would be appreciated to fix such problems. |
Same problem here. Some version information, if it helps troubleshoot: maui-check v0.10.0.0 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 |
Same. I've even tried manually running the command, and going about it other ways with no luck. |
Similar issues on OSX.
Attempting to install the workloads using the rollback file manually does seem to work, though.
|
I'm getting the same problem, as shown below. It's when creating an Android emulator. It tells me that Xcode 13.3 is not installed - well, I have 13.4 installed. It also tells me: It then tells me: and ` _ _ _____ _____ __ __ _ _ _ ___ 🚑 .NET MAUI Check v1.0.0.0 💉 Thanks for choosing .NET MAUI! 🔎 OpenJDK 11.0 Checkup... 🔎 Visual Studio 17.3.0.1028 Checkup... 🔎 Android SDK Checkup... 🔎 Android Emulator Checkup... ──────────────────────────────────────────────────────────────────────────────── 🔔 Attempt to fix? [y/n] (y): y 🔎 Android Emulator Checkup... ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 🔔 Attempt to fix? [y/n] (y): y 🔎 XCode 13.3 Checkup... ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 🔎 .NET SDK Checkup... 🔎 .NET SDK - Workload Deduplication Checkup... 🔎 .NET SDK - Workloads (6.0.301) Checkup... ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 🔔 Attempt to fix? [y/n] (y): y 🔔 There were one or more problems detected. Press enter to exit...` |
Same here, I think the variable PACKAGE_SOURCE_NUGET_ORG is missing:
|
Also getting this. I'm on an m1 Mac. Agree with the previous posters, the issue is the same for me. I think the issue is the way the --source variable is set.
|
Any hope on this? I am stuck and cannot get maui installed all the way. Same issue as @brijcharan and others. XCode 13.4 installed |
At the end of the day, I solved the problem by downloading Visual Studio 2022. Yeah I should not be downloading VS when I will be using Rider but I don't want to spend the entire day solving a problem when there is a solution. |
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. |
This is still an issue with @Redth Is there any foreseeable date for releasing a fix for this? The JetBrains blogpost about setting up MAUI for Rider requires using Thank you for your answer in advance! |
Recommendation: 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?
The text was updated successfully, but these errors were encountered: