dotnet-maui-check
dotnet-maui-check copied to clipboard
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"`
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 same for me. VS Community Feedback team says that :
(About maui-check, it’s an official tool. This tool will attempt to evaluate your .NET MAUI development environment. If problems are detected, this tool may offer the option to try and fix them for you or suggest a suggest a way to fix them yourself.)
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 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
/
Same. I've even tried manually running the command, and going about it other ways with no luck.
Similar issues on OSX.
➜ dotnet workload list
Installed Workload Ids Installation Source
-----------------------------------------------
macos SDK 6.0.300
ios SDK 6.0.300
maccatalyst SDK 6.0.300
maui SDK 6.0.300
tvos SDK 6.0.300
android SDK 6.0.300
➜ maui-check
_ _ _____ _____ __ __ _ _ _ ___
| \ | | | ____| |_ _| | \/ | / \ | | | | |_ _|
| \| | | _| | | | |\/| | / _ \ | | | | | |
_ | |\ | | |___ | | | | | | / ___ \ | |_| | | |
(_) |_| \_| |_____| |_| |_| |_| /_/ \_\ \___/ |___|
🚑 .NET MAUI Check v1.0.0.0 💉
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will attempt to evaluate your .NET MAUI development environment.
If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.
Thanks for choosing .NET MAUI!
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏳ Synchronizing configuration... ok
⏳ Scheduling appointments... ok
🔎 OpenJDK 11.0 Checkup...
✔ 18.0.1.1 (/Users/ksalitrik/Library/Java/JavaVirtualMachines/openjdk-18.0.1.1/Contents/Home/bin/..)
🔎 Visual Studio 17.3.0.1028 Checkup...
🔎 Android SDK Checkup...
✔ emulator (31.3.9)
✔ build-tools;31.0.0 (31.0.0)
✔ platforms;android-31 (1)
✔ system-images;android-31;google_apis;x86_64 (9)
✔ platform-tools (33.0.2)
✔ cmdline-tools;5.0 (5.0)
🔎 Android Emulator Checkup...
✔ Emulator: Pixel_5_API_33 found.
🔎 XCode 13.3 Checkup...
❌ Xcode.app (13.3) not installed.
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Download XCode 13.3
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔎 .NET SDK Checkup...
– 6.0.302 - /usr/local/share/dotnet/sdk/6.0.302
🔎 .NET SDK - Workload Deduplication Checkup...
🔎 .NET SDK - Workloads (6.0.301) Checkup...
✔ android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.424) installed.
❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.300 : 15.4.430) not installed.
❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.400 : 15.4.430) not installed.
❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.400 : 15.4.430) not installed.
❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.400 : 12.3.430) not installed.
✔ maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.300 : 6.0.408) installed.
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Install or Update SDK Workloads
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
⏳ Attempting to fix: .NET SDK - Workloads (6.0.301)
SHELL: /bin/zsh /var/folders/td/47rz97ws15zdxnny1cdxn3y80000gn/T/tmp1m3EsB.tmp
zsh:1: command not found: PACKAGE_SOURCE_NUGET_ORG
Unhandled exception: System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at Microsoft.DotNet.Cli.NuGetPackageDownloader.PackageSourceLocation.ExpandLocalFeed(String[] sourceFeedOverrides)
at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version, IReadOnlyCollection`1 workloadIds)
at Microsoft.DotNet.Cli.WorkloadInstallCommandParser.<>c.<ConstructCommand>b__14_0(ParseResult parseResult)
at Microsoft.DotNet.Cli.ParseResultCommandHandler.Invoke(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
Fix failed - Workload Install failed: `dotnet workload install --from-rollback-file "/var/folders/td/47rz97ws15zdxnny1cdxn3y80000gn/T/maui-check-8359c6fb/workload.json" android ios maccatalyst tvos macos maui
--source "$(PACKAGE_SOURCE_NUGET_ORG)"`
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 There were one or more problems detected.
Please review the errors and correct them and run maui-check again.
Press enter to exit...
Attempting to install the workloads using the rollback file manually does seem to work, though.
➜ sudo dotnet workload install --from-rollback-file "/var/folders/td/47rz97ws15zdxnny1cdxn3y80000gn/T/maui-check-1877e4e7/workload.json" android ios maccatalyst tvos macos maui
Workload(s) 'macos ios maccatalyst maui tvos android' are already installed.
Skipping NuGet package signature verification.
Skipping NuGet package signature verification.
Skipping NuGet package signature verification.
Installing workload manifest microsoft.net.sdk.android version 32.0.424…
Installing workload manifest microsoft.net.sdk.ios version 15.4.430…
Installing workload manifest microsoft.net.sdk.maccatalyst version 15.4.430…
Installing workload manifest microsoft.net.sdk.tvos version 15.4.430…
Installing workload manifest microsoft.net.sdk.macos version 12.3.430…
Installing workload manifest microsoft.net.sdk.maui version 6.0.408…
Garbage collecting for SDK feature band(s) 6.0.300...
Successfully installed workload(s) android ios maccatalyst tvos macos maui.
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: zsh:1: command not found: PACKAGE_SOURCE_NUGET_ORG
It then tells me:
❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.300 : 15.4.430) not installed. ❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.400 : 15.4.430) not installed. ❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.400 : 15.4.430) not installed. ❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.400 : 12.3.430) not installed.
and
🔔 Attempt to fix? [y/n] (y): y ⏳ Attempting to fix: .NET SDK - Workloads (6.0.301) SHELL: /bin/zsh /var/folders/4g/pn95f6l13md198bh91g9x25m0000gn/T/tmp3m3kFC.tmp zsh:1: command not found: PACKAGE_SOURCE_NUGET_ORG Password: Unhandled exception: System.ArgumentException: The path is empty. (Parameter 'path') at System.IO.Path.GetFullPath(String path) at Microsoft.DotNet.Cli.NuGetPackageDownloader.PackageSourceLocation.ExpandLocalFeed(String[] sourceFeedOverrides) at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version, IReadOnlyCollection
1 workloadIds)
at Microsoft.DotNet.Cli.WorkloadInstallCommandParser.<>c.<ConstructCommand>b__14_0(ParseResult parseResult)
at Microsoft.DotNet.Cli.ParseResultCommandHandler.Invoke(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
Fix failed - Workload Install failed: `dotnet workload install --from-rollback-file "/var/folders/4g/pn95f6l13md198bh91g9x25m0000gn/T/maui-check-6bc52ade/workload.json" android ios maccatalyst tvos macos maui --source
"$(PACKAGE_SOURCE_NUGET_ORG)"``
` _ _ _____ _____ __ __ _ _ _ ___
| \ | | | | | | | / | / \ | | | | | |
| | | | | | | | |/| | / _ \ | | | | | |
_ | |\ | | | | | | | | | / ___ \ | || | | |
() || _| |_____| || || || // _\ _/ ||
🚑 .NET MAUI Check v1.0.0.0 💉 ──────────────────────────────────────────────────────────────────────────────── This tool will attempt to evaluate your .NET MAUI development environment. If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.
Thanks for choosing .NET MAUI! ──────────────────────────────────────────────────────────────────────────────── ⏳ Synchronizing configuration... ok ⏳ Scheduling appointments... ok
🔎 OpenJDK 11.0 Checkup... ✔ 11.0.12 (/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/..)
🔎 Visual Studio 17.3.0.1028 Checkup... – Visual Studio for Mac (17.0.6.4)
🔎 Android SDK Checkup... ✔ emulator (31.2.8) ✔ build-tools;31.0.0 (31.0.0) ✔ platforms;android-31 (1) ✔ system-images;android-31;google_apis;arm64-v8a (8) ✔ platform-tools (31.0.3) ✔ cmdline-tools;5.0 (5.0)
🔎 Android Emulator Checkup...
──────────────────────────────────────────────────────────────────────────────── 💉 Recommendation: Create an Android Emulator ────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y ⏳ Attempting to fix: Android Emulator Fix applied. Checking again...
🔎 Android Emulator Checkup...
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 💉 Recommendation: Create an Android Emulator ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
🔎 XCode 13.3 Checkup... ❌ Xcode.app (13.3) not installed.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 💉 Recommendation: Download XCode 13.3 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔎 .NET SDK Checkup... – 6.0.300 - /usr/local/share/dotnet/sdk/6.0.300 ✔ 6.0.301 - /usr/local/share/dotnet/sdk/6.0.301 – 6.0.302 - /usr/local/share/dotnet/sdk/6.0.302
🔎 .NET SDK - Workload Deduplication Checkup...
🔎 .NET SDK - Workloads (6.0.301) Checkup... ✔ android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.440) installed. ❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.300 : 15.4.430) not installed. ❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.400 : 15.4.430) not installed. ❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.400 : 15.4.430) not installed. ❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.400 : 12.3.430) not installed. ✔ maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.300 : 6.0.419) installed.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 💉 Recommendation: Install or Update SDK Workloads ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
⏳ Attempting to fix: .NET SDK - Workloads (6.0.301)
SHELL: /bin/zsh /var/folders/4g/pn95f6l13md198bh91g9x25m0000gn/T/tmp3m3kFC.tmp
zsh:1: command not found: PACKAGE_SOURCE_NUGET_ORG
Password:
Unhandled exception: System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at Microsoft.DotNet.Cli.NuGetPackageDownloader.PackageSourceLocation.ExpandLocalFeed(String[] sourceFeedOverrides)
at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version, IReadOnlyCollection1 workloadIds) at Microsoft.DotNet.Cli.WorkloadInstallCommandParser.<>c.<ConstructCommand>b__14_0(ParseResult parseResult) at Microsoft.DotNet.Cli.ParseResultCommandHandler.Invoke(InvocationContext context) at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext() Fix failed - Workload Install failed:
dotnet workload install --from-rollback-file "/var/folders/4g/pn95f6l13md198bh91g9x25m0000gn/T/maui-check-6bc52ade/workload.json" android ios maccatalyst tvos macos maui --source
"$(PACKAGE_SOURCE_NUGET_ORG)"`
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 There were one or more problems detected. Please review the errors and correct them and run maui-check again.
Press enter to exit...`
Same here, I think the variable PACKAGE_SOURCE_NUGET_ORG is missing:
Last login: Mon Jul 25 07:10:35 on console
moz@Yeti-4 ~ maui-check ✔ 4302 07:14:15
_ _ _____ _____ __ __ _ _ _ ___
| \ | | | ____| |_ _| | \/ | / \ | | | | |_ _|
| \| | | _| | | | |\/| | / _ \ | | | | | |
_ | |\ | | |___ | | | | | | / ___ \ | |_| | | |
(_) |_| \_| |_____| |_| |_| |_| /_/ \_\ \___/ |___|
🚑 .NET MAUI Check v0.10.0.0 💉
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will attempt to evaluate your .NET MAUI development environment.
If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.
Thanks for choosing .NET MAUI!
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏳ Synchronizing configuration...Error: The local source '/Users/moz/$(PACKAGE_SOURCE_NUGET_ORG)' doesn't exist.
moz@Yeti-4 ~ sudo maui-check (-127) ↵ 4304 14:53:17
Password:
_ _ _____ _____ __ __ _ _ _ ___
| \ | | | ____| |_ _| | \/ | / \ | | | | |_ _|
| \| | | _| | | | |\/| | / _ \ | | | | | |
_ | |\ | | |___ | | | | | | / ___ \ | |_| | | |
(_) |_| \_| |_____| |_| |_| |_| /_/ \_\ \___/ |___|
🚑 .NET MAUI Check v0.10.0.0 💉
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will attempt to evaluate your .NET MAUI development environment.
If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.
Thanks for choosing .NET MAUI!
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏳ Synchronizing configuration...Error: The local source '/Users/moz/$(PACKAGE_SOURCE_NUGET_ORG)' doesn't exist.
moz@Yeti-4 ~ dotnet tool install -g Redth.Net.Maui.Check (-127) ↵ 4305 14:53:59
Willkommen bei .NET 6.0!
---------------------
SDK-Version: 6.0.400-preview.22330.6
Telemetrie
---------
Die .NET-Tools erfassen Nutzungsdaten, damit wir die Plattform stetig verbessern können. Diese werden von Microsoft erfasst und mit der Community geteilt. Sie können das Erfassen von Telemetriedaten deaktivieren, indem Sie die Umgebungsvariable DOTNET_CLI_TELEMETRY_OPTOUT in Ihrer bevorzugten Shell auf "1" oder TRUE festlegen.
Weitere Informationen zu Telemetriedaten in .NET-CLI-Tools finden Sie hier: https://aka.ms/dotnet-cli-telemetry
----------------
Ein ASP.NET Core-HTTPS-Entwicklungszertifikat wurde installiert.
Um das Zertifikat als vertrauenswürdig einzustufen, führen Sie "dotnet dev-certs https --trust" aus (nur Windows und macOS).
Weitere Informationen zu HTTPS: https://aka.ms/dotnet-https
----------------
Schreiben Sie Ihre erste App: https://aka.ms/dotnet-hello-world
Neuigkeiten: https://aka.ms/dotnet-whats-new
Dokumentation: https://aka.ms/dotnet-docs
Probleme melden und Quelle in GitHub suchen: https://github.com/dotnet/core
Verwenden Sie "dotnet --help", um verfügbare Befehle anzuzeigen, oder besuchen Sie https://aka.ms/dotnet-cli.
--------------------------------------------------------------------------------------
Das Tool "redth.net.maui.check" ist bereits installiert.
moz@Yeti-4 ~ maui-check 1 ↵ 4306 14:54:16
_ _ _____ _____ __ __ _ _ _ ___
| \ | | | ____| |_ _| | \/ | / \ | | | | |_ _|
| \| | | _| | | | |\/| | / _ \ | | | | | |
_ | |\ | | |___ | | | | | | / ___ \ | |_| | | |
(_) |_| \_| |_____| |_| |_| |_| /_/ \_\ \___/ |___|
🚑 .NET MAUI Check v0.10.0.0 💉
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will attempt to evaluate your .NET MAUI development environment.
If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.
Thanks for choosing .NET MAUI!
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏳ Synchronizing configuration...Error: The local source '/Users/moz/$(PACKAGE_SOURCE_NUGET_ORG)' doesn't exist.
moz@Yeti-4 ~ clear (-127) ↵ 4307 14:54:27
moz@Yeti-4 ~ dotnet tool update -g redth.net.maui.check --source https://api.nuget.org/v3/index.json ✔ 4308 14:55:55
Befehl oder Argument "--source" nicht erkannt
Befehl oder Argument "https://api.nuget.org/v3/index.json" nicht erkannt
Description:
Hiermit aktualisieren Sie ein globales Tool.
Usage:
dotnet tool update [<PACKAGE_ID>] [options]
Arguments:
<PACKAGE_ID> Die NuGet-Paket-ID des zu installierenden Tools.
Options:
-g, --global Hiermit wird das Tool im Toolverzeichnis des aktuellen Benutzers aktualisiert.
--tool-path <PATH> Das Verzeichnis, das das zu aktualisierende Tool enthält.
--local Aktualisieren Sie das Tool und das lokale Toolmanifest.
--configfile <FILE> Die zu verwendende NuGet-Konfigurationsdatei.
--add-source <SOURCE> Hiermit wird eine weitere NuGet-Paketquelle zur Verwendung während der Installation hinzugefügt.
--framework <FRAMEWORK> Das Zielframework, für das das Tool installiert wird.
--version <VERSION> Die Version des zu installierenden Toolpakets.
--tool-manifest <PATH> Pfad zur Manifestdatei.
--prerelease Es wird ermittelt, ob Vorabversionspakete eingeschlossen werden sollen.
--disable-parallel Hiermit wird die parallele Wiederherstellung mehrerer Projekte verhindert.
--ignore-failed-sources Paketquellfehler als Warnungen behandeln.
--no-cache Pakete und HTTP-Anforderungen nicht zwischenspeichern.
--interactive Hiermit wird zugelassen, dass der Befehl anhält und auf eine Benutzereingabe oder Aktion wartet (beispielsweise auf den Abschluss der Authentifizierung).
-v, --verbosity <LEVEL> Hiermit wird der Ausführlichkeitsgrad von MSBuild festgelegt. Zulässige Werte sind "q[uiet]", "m[inimal]", "n[ormal]", "d[etailed]" und "diag[nostic]".
-?, -h, --help Hiermit wird die Hilfe zur Befehlszeile angezeigt.
moz@Yeti-4 ~ dotnet tool update -g redth.net.maui.check --source https://api.nuget.org/v3/index.json 1 ↵ 4309 14:55:56
Befehl oder Argument "--source" nicht erkannt
Befehl oder Argument "https://api.nuget.org/v3/index.json" nicht erkannt
Description:
Hiermit aktualisieren Sie ein globales Tool.
Usage:
dotnet tool update [<PACKAGE_ID>] [options]
Arguments:
<PACKAGE_ID> Die NuGet-Paket-ID des zu installierenden Tools.
Options:
-g, --global Hiermit wird das Tool im Toolverzeichnis des aktuellen Benutzers aktualisiert.
--tool-path <PATH> Das Verzeichnis, das das zu aktualisierende Tool enthält.
--local Aktualisieren Sie das Tool und das lokale Toolmanifest.
--configfile <FILE> Die zu verwendende NuGet-Konfigurationsdatei.
--add-source <SOURCE> Hiermit wird eine weitere NuGet-Paketquelle zur Verwendung während der Installation hinzugefügt.
--framework <FRAMEWORK> Das Zielframework, für das das Tool installiert wird.
--version <VERSION> Die Version des zu installierenden Toolpakets.
--tool-manifest <PATH> Pfad zur Manifestdatei.
--prerelease Es wird ermittelt, ob Vorabversionspakete eingeschlossen werden sollen.
--disable-parallel Hiermit wird die parallele Wiederherstellung mehrerer Projekte verhindert.
--ignore-failed-sources Paketquellfehler als Warnungen behandeln.
--no-cache Pakete und HTTP-Anforderungen nicht zwischenspeichern.
--interactive Hiermit wird zugelassen, dass der Befehl anhält und auf eine Benutzereingabe oder Aktion wartet (beispielsweise auf den Abschluss der Authentifizierung).
-v, --verbosity <LEVEL> Hiermit wird der Ausführlichkeitsgrad von MSBuild festgelegt. Zulässige Werte sind "q[uiet]", "m[inimal]", "n[ormal]", "d[etailed]" und "diag[nostic]".
-?, -h, --help Hiermit wird die Hilfe zur Befehlszeile angezeigt.
moz@Yeti-4 ~ maui-check update 1 ↵ 4309 14:55:59
Error: Unknown command 'update'.
check update
^^^^^^ No such command
moz@Yeti-4 ~ dotnet tool update -g redth.net.maui.check (-127) ↵ 4310 14:56:10
Das Tool "redth.net.maui.check" wurde erfolgreich von Version 0.10.0 auf Version 1.0.0 aktualisiert.
moz@Yeti-4 ~ maui-check ✔ 4311 14:56:31
_ _ _____ _____ __ __ _ _ _ ___
| \ | | | ____| |_ _| | \/ | / \ | | | | |_ _|
| \| | | _| | | | |\/| | / _ \ | | | | | |
_ | |\ | | |___ | | | | | | / ___ \ | |_| | | |
(_) |_| \_| |_____| |_| |_| |_| /_/ \_\ \___/ |___|
🚑 .NET MAUI Check v1.0.0.0 💉
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will attempt to evaluate your .NET MAUI development environment.
If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.
Thanks for choosing .NET MAUI!
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏳ Synchronizing configuration... ok
⏳ Scheduling appointments... ok
🔎 OpenJDK 11.0 Checkup...
✔ 11.0.12 (/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/..)
🔎 Visual Studio 17.3.0.1028 Checkup...
– Visual Studio for Mac (8.10.17.2)
🔎 Android SDK Checkup...
✔ emulator (31.2.7)
✔ build-tools;31.0.0 (31.0.0)
✔ platforms;android-31 (1)
✔ system-images;android-31;google_apis;x86_64 (8)
✔ platform-tools (31.0.3)
✔ cmdline-tools;5.0 (5.0)
🔎 Android Emulator Checkup...
✔ Emulator: pixel_2_q_10_0_-_api_29 found.
🔎 XCode 13.3 Checkup...
❌ Xcode.app (13.3) not installed.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Download XCode 13.3
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔎 .NET SDK Checkup...
– 2.1.4 - /usr/local/share/dotnet/sdk/2.1.4
– 2.1.302 - /usr/local/share/dotnet/sdk/2.1.302
– 2.1.504 - /usr/local/share/dotnet/sdk/2.1.504
– 2.1.505 - /usr/local/share/dotnet/sdk/2.1.505
– 2.1.810 - /usr/local/share/dotnet/sdk/2.1.810
– 2.1.811 - /usr/local/share/dotnet/sdk/2.1.811
– 2.2.203 - /usr/local/share/dotnet/sdk/2.2.203
– 3.0.100 - /usr/local/share/dotnet/sdk/3.0.100
– 3.0.101 - /usr/local/share/dotnet/sdk/3.0.101
– 3.1.100 - /usr/local/share/dotnet/sdk/3.1.100
– 3.1.101 - /usr/local/share/dotnet/sdk/3.1.101
– 3.1.102 - /usr/local/share/dotnet/sdk/3.1.102
– 3.1.200 - /usr/local/share/dotnet/sdk/3.1.200
– 3.1.202 - /usr/local/share/dotnet/sdk/3.1.202
– 3.1.300 - /usr/local/share/dotnet/sdk/3.1.300
– 3.1.301 - /usr/local/share/dotnet/sdk/3.1.301
– 3.1.302 - /usr/local/share/dotnet/sdk/3.1.302
– 3.1.401 - /usr/local/share/dotnet/sdk/3.1.401
– 3.1.402 - /usr/local/share/dotnet/sdk/3.1.402
– 3.1.403 - /usr/local/share/dotnet/sdk/3.1.403
– 3.1.404 - /usr/local/share/dotnet/sdk/3.1.404
– 3.1.405 - /usr/local/share/dotnet/sdk/3.1.405
– 3.1.406 - /usr/local/share/dotnet/sdk/3.1.406
– 3.1.407 - /usr/local/share/dotnet/sdk/3.1.407
– 3.1.408 - /usr/local/share/dotnet/sdk/3.1.408
– 3.1.410 - /usr/local/share/dotnet/sdk/3.1.410
– 3.1.411 - /usr/local/share/dotnet/sdk/3.1.411
– 3.1.412 - /usr/local/share/dotnet/sdk/3.1.412
– 3.1.413 - /usr/local/share/dotnet/sdk/3.1.413
– 3.1.414 - /usr/local/share/dotnet/sdk/3.1.414
– 3.1.416 - /usr/local/share/dotnet/sdk/3.1.416
– 3.1.418 - /usr/local/share/dotnet/sdk/3.1.418
– 3.1.419 - /usr/local/share/dotnet/sdk/3.1.419
– 3.1.421 - /usr/local/share/dotnet/sdk/3.1.421
– 5.0.100 - /usr/local/share/dotnet/sdk/5.0.100
– 5.0.101 - /usr/local/share/dotnet/sdk/5.0.101
– 5.0.102 - /usr/local/share/dotnet/sdk/5.0.102
– 5.0.103 - /usr/local/share/dotnet/sdk/5.0.103
– 5.0.201 - /usr/local/share/dotnet/sdk/5.0.201
– 5.0.202 - /usr/local/share/dotnet/sdk/5.0.202
– 5.0.301 - /usr/local/share/dotnet/sdk/5.0.301
– 5.0.302 - /usr/local/share/dotnet/sdk/5.0.302
– 5.0.400 - /usr/local/share/dotnet/sdk/5.0.400
– 5.0.401 - /usr/local/share/dotnet/sdk/5.0.401
– 5.0.402 - /usr/local/share/dotnet/sdk/5.0.402
– 5.0.404 - /usr/local/share/dotnet/sdk/5.0.404
– 5.0.405 - /usr/local/share/dotnet/sdk/5.0.405
– 5.0.407 - /usr/local/share/dotnet/sdk/5.0.407
– 5.0.408 - /usr/local/share/dotnet/sdk/5.0.408
– 6.0.100-preview.7.21379.14 - /usr/local/share/dotnet/sdk/6.0.100-preview.7.21379.14
– 6.0.100-rc.1.21463.6 - /usr/local/share/dotnet/sdk/6.0.100-rc.1.21463.6
– 6.0.101 - /usr/local/share/dotnet/sdk/6.0.101
– 6.0.200 - /usr/local/share/dotnet/sdk/6.0.200
– 6.0.202 - /usr/local/share/dotnet/sdk/6.0.202
– 6.0.203 - /usr/local/share/dotnet/sdk/6.0.203
– 6.0.300 - /usr/local/share/dotnet/sdk/6.0.300
– 6.0.400-preview.22330.6 - /usr/local/share/dotnet/sdk/6.0.400-preview.22330.6
🔎 .NET SDK - Workload Deduplication Checkup...
🔎 .NET SDK - Workloads (6.0.301) Checkup...
❌ android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.440) not installed.
❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.300 : 15.4.430) not installed.
❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.400 : 15.4.430) not installed.
❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.400 : 15.4.430) not installed.
❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.400 : 12.3.430) not installed.
❌ maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.300 : 6.0.419) not installed.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Install or Update SDK Workloads
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
⏳ Attempting to fix: .NET SDK - Workloads (6.0.301)
SHELL: /bin/zsh /var/folders/pv/lxwx2xqd16d1tctnscgb98_h0000gn/T/tmpRH0TWw.tmp
zsh:1: command not found: PACKAGE_SOURCE_NUGET_ORG
Willkommen bei .NET 6.0!
---------------------
SDK-Version: 6.0.400-preview.22330.6
Telemetrie
---------
Die .NET-Tools erfassen Nutzungsdaten, damit wir die Plattform stetig verbessern können. Diese werden von Microsoft erfasst und mit der Community geteilt. Sie können das Erfassen von Telemetriedaten deaktivieren, indem Sie die Umgebungsvariable DOTNET_CLI_TELEMETRY_OPTOUT in Ihrer bevorzugten Shell auf "1" oder TRUE festlegen.
Weitere Informationen zu Telemetriedaten in .NET-CLI-Tools finden Sie hier: https://aka.ms/dotnet-cli-telemetry
----------------
Ein ASP.NET Core-HTTPS-Entwicklungszertifikat wurde installiert.
Um das Zertifikat als vertrauenswürdig einzustufen, führen Sie "dotnet dev-certs https --trust" aus (nur Windows und macOS).
Weitere Informationen zu HTTPS: https://aka.ms/dotnet-https
----------------
Schreiben Sie Ihre erste App: https://aka.ms/dotnet-hello-world
Neuigkeiten: https://aka.ms/dotnet-whats-new
Dokumentation: https://aka.ms/dotnet-docs
Probleme melden und Quelle in GitHub suchen: https://github.com/dotnet/core
Verwenden Sie "dotnet --help", um verfügbare Befehle anzuzeigen, oder besuchen Sie https://aka.ms/dotnet-cli.
--------------------------------------------------------------------------------------
Unhandled exception: System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at Microsoft.DotNet.Cli.NuGetPackageDownloader.PackageSourceLocation.ExpandLocalFeed(String[] sourceFeedOverrides)
at Microsoft.DotNet.Workloads.Workload.InstallingWorkloadCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version)
at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version, IReadOnlyCollection`1 workloadIds)
at Microsoft.DotNet.Cli.WorkloadInstallCommandParser.<>c.<ConstructCommand>b__6_0(ParseResult parseResult)
at Microsoft.DotNet.Cli.ParseResultCommandHandler.Invoke(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
Fix failed - Workload Install failed: `dotnet workload install --from-rollback-file "/var/folders/pv/lxwx2xqd16d1tctnscgb98_h0000gn/T/maui-check-4289a725/workload.json" android ios maccatalyst tvos
macos maui --source "$(PACKAGE_SOURCE_NUGET_ORG)"`
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 There were one or more problems detected.
Please review the errors and correct them and run maui-check again.
Press enter to exit...
moz@Yeti-4 ~ maui-check 1 ↵ 4312 14:57:11
_ _ _____ _____ __ __ _ _ _ ___
| \ | | | ____| |_ _| | \/ | / \ | | | | |_ _|
| \| | | _| | | | |\/| | / _ \ | | | | | |
_ | |\ | | |___ | | | | | | / ___ \ | |_| | | |
(_) |_| \_| |_____| |_| |_| |_| /_/ \_\ \___/ |___|
🚑 .NET MAUI Check v1.0.0.0 💉
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will attempt to evaluate your .NET MAUI development environment.
If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.
Thanks for choosing .NET MAUI!
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏳ Synchronizing configuration... ok
⏳ Scheduling appointments... ok
🔎 OpenJDK 11.0 Checkup...
✔ 11.0.12 (/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/..)
🔎 Visual Studio 17.3.0.1028 Checkup...
– Visual Studio for Mac (8.10.17.2)
🔎 Android SDK Checkup...
✔ emulator (31.2.7)
✔ build-tools;31.0.0 (31.0.0)
✔ platforms;android-31 (1)
✔ system-images;android-31;google_apis;x86_64 (8)
✔ platform-tools (31.0.3)
✔ cmdline-tools;5.0 (5.0)
🔎 Android Emulator Checkup...
✔ Emulator: pixel_2_q_10_0_-_api_29 found.
🔎 XCode 13.3 Checkup...
❌ Xcode.app (13.3) not installed.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Download XCode 13.3
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔎 .NET SDK Checkup...
– 2.1.4 - /usr/local/share/dotnet/sdk/2.1.4
– 2.1.302 - /usr/local/share/dotnet/sdk/2.1.302
– 2.1.504 - /usr/local/share/dotnet/sdk/2.1.504
– 2.1.505 - /usr/local/share/dotnet/sdk/2.1.505
– 2.1.810 - /usr/local/share/dotnet/sdk/2.1.810
– 2.1.811 - /usr/local/share/dotnet/sdk/2.1.811
– 2.2.203 - /usr/local/share/dotnet/sdk/2.2.203
– 3.0.100 - /usr/local/share/dotnet/sdk/3.0.100
– 3.0.101 - /usr/local/share/dotnet/sdk/3.0.101
– 3.1.100 - /usr/local/share/dotnet/sdk/3.1.100
– 3.1.101 - /usr/local/share/dotnet/sdk/3.1.101
– 3.1.102 - /usr/local/share/dotnet/sdk/3.1.102
– 3.1.200 - /usr/local/share/dotnet/sdk/3.1.200
– 3.1.202 - /usr/local/share/dotnet/sdk/3.1.202
– 3.1.300 - /usr/local/share/dotnet/sdk/3.1.300
– 3.1.301 - /usr/local/share/dotnet/sdk/3.1.301
– 3.1.302 - /usr/local/share/dotnet/sdk/3.1.302
– 3.1.401 - /usr/local/share/dotnet/sdk/3.1.401
– 3.1.402 - /usr/local/share/dotnet/sdk/3.1.402
– 3.1.403 - /usr/local/share/dotnet/sdk/3.1.403
– 3.1.404 - /usr/local/share/dotnet/sdk/3.1.404
– 3.1.405 - /usr/local/share/dotnet/sdk/3.1.405
– 3.1.406 - /usr/local/share/dotnet/sdk/3.1.406
– 3.1.407 - /usr/local/share/dotnet/sdk/3.1.407
– 3.1.408 - /usr/local/share/dotnet/sdk/3.1.408
– 3.1.410 - /usr/local/share/dotnet/sdk/3.1.410
– 3.1.411 - /usr/local/share/dotnet/sdk/3.1.411
– 3.1.412 - /usr/local/share/dotnet/sdk/3.1.412
– 3.1.413 - /usr/local/share/dotnet/sdk/3.1.413
– 3.1.414 - /usr/local/share/dotnet/sdk/3.1.414
– 3.1.416 - /usr/local/share/dotnet/sdk/3.1.416
– 3.1.418 - /usr/local/share/dotnet/sdk/3.1.418
– 3.1.419 - /usr/local/share/dotnet/sdk/3.1.419
– 3.1.421 - /usr/local/share/dotnet/sdk/3.1.421
– 5.0.100 - /usr/local/share/dotnet/sdk/5.0.100
– 5.0.101 - /usr/local/share/dotnet/sdk/5.0.101
– 5.0.102 - /usr/local/share/dotnet/sdk/5.0.102
– 5.0.103 - /usr/local/share/dotnet/sdk/5.0.103
– 5.0.201 - /usr/local/share/dotnet/sdk/5.0.201
– 5.0.202 - /usr/local/share/dotnet/sdk/5.0.202
– 5.0.301 - /usr/local/share/dotnet/sdk/5.0.301
– 5.0.302 - /usr/local/share/dotnet/sdk/5.0.302
– 5.0.400 - /usr/local/share/dotnet/sdk/5.0.400
– 5.0.401 - /usr/local/share/dotnet/sdk/5.0.401
– 5.0.402 - /usr/local/share/dotnet/sdk/5.0.402
– 5.0.404 - /usr/local/share/dotnet/sdk/5.0.404
– 5.0.405 - /usr/local/share/dotnet/sdk/5.0.405
– 5.0.407 - /usr/local/share/dotnet/sdk/5.0.407
– 5.0.408 - /usr/local/share/dotnet/sdk/5.0.408
– 6.0.100-preview.7.21379.14 - /usr/local/share/dotnet/sdk/6.0.100-preview.7.21379.14
– 6.0.100-rc.1.21463.6 - /usr/local/share/dotnet/sdk/6.0.100-rc.1.21463.6
– 6.0.101 - /usr/local/share/dotnet/sdk/6.0.101
– 6.0.200 - /usr/local/share/dotnet/sdk/6.0.200
– 6.0.202 - /usr/local/share/dotnet/sdk/6.0.202
– 6.0.203 - /usr/local/share/dotnet/sdk/6.0.203
– 6.0.300 - /usr/local/share/dotnet/sdk/6.0.300
– 6.0.400-preview.22330.6 - /usr/local/share/dotnet/sdk/6.0.400-preview.22330.6
🔎 .NET SDK - Workload Deduplication Checkup...
🔎 .NET SDK - Workloads (6.0.301) Checkup...
❌ android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.440) not installed.
❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.300 : 15.4.430) not installed.
❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.400 : 15.4.430) not installed.
❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.400 : 15.4.430) not installed.
❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.400 : 12.3.430) not installed.
❌ maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.300 : 6.0.419) not installed.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Install or Update SDK Workloads
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
⏳ Attempting to fix: .NET SDK - Workloads (6.0.301)
SHELL: /bin/zsh /var/folders/pv/lxwx2xqd16d1tctnscgb98_h0000gn/T/tmpz9TBlf.tmp
zsh:1: command not found: PACKAGE_SOURCE_NUGET_ORG
Unhandled exception: System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at Microsoft.DotNet.Cli.NuGetPackageDownloader.PackageSourceLocation.ExpandLocalFeed(String[] sourceFeedOverrides)
at Microsoft.DotNet.Workloads.Workload.InstallingWorkloadCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version)
at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version, IReadOnlyCollection`1 workloadIds)
at Microsoft.DotNet.Cli.WorkloadInstallCommandParser.<>c.<ConstructCommand>b__6_0(ParseResult parseResult)
at Microsoft.DotNet.Cli.ParseResultCommandHandler.Invoke(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
Fix failed - Workload Install failed: `dotnet workload install --from-rollback-file "/var/folders/pv/lxwx2xqd16d1tctnscgb98_h0000gn/T/maui-check-5a70e240/workload.json" android ios maccatalyst tvos
macos maui --source "$(PACKAGE_SOURCE_NUGET_ORG)"`
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 There were one or more problems detected.
Please review the errors and correct them and run maui-check again.
Press enter to exit...
moz@Yeti-4 ~ sudo maui-check 1 ↵ 4312 14:59:45
Password:
_ _ _____ _____ __ __ _ _ _ ___
| \ | | | ____| |_ _| | \/ | / \ | | | | |_ _|
| \| | | _| | | | |\/| | / _ \ | | | | | |
_ | |\ | | |___ | | | | | | / ___ \ | |_| | | |
(_) |_| \_| |_____| |_| |_| |_| /_/ \_\ \___/ |___|
🚑 .NET MAUI Check v1.0.0.0 💉
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will attempt to evaluate your .NET MAUI development environment.
If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.
Thanks for choosing .NET MAUI!
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏳ Synchronizing configuration... ok
⏳ Scheduling appointments... ok
🔎 OpenJDK 11.0 Checkup...
✔ 11.0.12 (/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/..)
🔎 Visual Studio 17.3.0.1028 Checkup...
– Visual Studio for Mac (8.10.17.2)
🔎 Android SDK Checkup...
✔ emulator (31.2.7)
✔ build-tools;31.0.0 (31.0.0)
✔ platforms;android-31 (1)
✔ system-images;android-31;google_apis;x86_64 (8)
✔ platform-tools (31.0.3)
✔ cmdline-tools;5.0 (5.0)
🔎 Android Emulator Checkup...
✔ Emulator: pixel_2_q_10_0_-_api_29 found.
🔎 XCode 13.3 Checkup...
❌ Xcode.app (13.3) not installed.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Download XCode 13.3
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔎 .NET SDK Checkup...
– 2.1.4 - /usr/local/share/dotnet/sdk/2.1.4
– 2.1.302 - /usr/local/share/dotnet/sdk/2.1.302
– 2.1.504 - /usr/local/share/dotnet/sdk/2.1.504
– 2.1.505 - /usr/local/share/dotnet/sdk/2.1.505
– 2.1.810 - /usr/local/share/dotnet/sdk/2.1.810
– 2.1.811 - /usr/local/share/dotnet/sdk/2.1.811
– 2.2.203 - /usr/local/share/dotnet/sdk/2.2.203
– 3.0.100 - /usr/local/share/dotnet/sdk/3.0.100
– 3.0.101 - /usr/local/share/dotnet/sdk/3.0.101
– 3.1.100 - /usr/local/share/dotnet/sdk/3.1.100
– 3.1.101 - /usr/local/share/dotnet/sdk/3.1.101
– 3.1.102 - /usr/local/share/dotnet/sdk/3.1.102
– 3.1.200 - /usr/local/share/dotnet/sdk/3.1.200
– 3.1.202 - /usr/local/share/dotnet/sdk/3.1.202
– 3.1.300 - /usr/local/share/dotnet/sdk/3.1.300
– 3.1.301 - /usr/local/share/dotnet/sdk/3.1.301
– 3.1.302 - /usr/local/share/dotnet/sdk/3.1.302
– 3.1.401 - /usr/local/share/dotnet/sdk/3.1.401
– 3.1.402 - /usr/local/share/dotnet/sdk/3.1.402
– 3.1.403 - /usr/local/share/dotnet/sdk/3.1.403
– 3.1.404 - /usr/local/share/dotnet/sdk/3.1.404
– 3.1.405 - /usr/local/share/dotnet/sdk/3.1.405
– 3.1.406 - /usr/local/share/dotnet/sdk/3.1.406
– 3.1.407 - /usr/local/share/dotnet/sdk/3.1.407
– 3.1.408 - /usr/local/share/dotnet/sdk/3.1.408
– 3.1.410 - /usr/local/share/dotnet/sdk/3.1.410
– 3.1.411 - /usr/local/share/dotnet/sdk/3.1.411
– 3.1.412 - /usr/local/share/dotnet/sdk/3.1.412
– 3.1.413 - /usr/local/share/dotnet/sdk/3.1.413
– 3.1.414 - /usr/local/share/dotnet/sdk/3.1.414
– 3.1.416 - /usr/local/share/dotnet/sdk/3.1.416
– 3.1.418 - /usr/local/share/dotnet/sdk/3.1.418
– 3.1.419 - /usr/local/share/dotnet/sdk/3.1.419
– 3.1.421 - /usr/local/share/dotnet/sdk/3.1.421
– 5.0.100 - /usr/local/share/dotnet/sdk/5.0.100
– 5.0.101 - /usr/local/share/dotnet/sdk/5.0.101
– 5.0.102 - /usr/local/share/dotnet/sdk/5.0.102
– 5.0.103 - /usr/local/share/dotnet/sdk/5.0.103
– 5.0.201 - /usr/local/share/dotnet/sdk/5.0.201
– 5.0.202 - /usr/local/share/dotnet/sdk/5.0.202
– 5.0.301 - /usr/local/share/dotnet/sdk/5.0.301
– 5.0.302 - /usr/local/share/dotnet/sdk/5.0.302
– 5.0.400 - /usr/local/share/dotnet/sdk/5.0.400
– 5.0.401 - /usr/local/share/dotnet/sdk/5.0.401
– 5.0.402 - /usr/local/share/dotnet/sdk/5.0.402
– 5.0.404 - /usr/local/share/dotnet/sdk/5.0.404
– 5.0.405 - /usr/local/share/dotnet/sdk/5.0.405
– 5.0.407 - /usr/local/share/dotnet/sdk/5.0.407
– 5.0.408 - /usr/local/share/dotnet/sdk/5.0.408
– 6.0.100-preview.7.21379.14 - /usr/local/share/dotnet/sdk/6.0.100-preview.7.21379.14
– 6.0.100-rc.1.21463.6 - /usr/local/share/dotnet/sdk/6.0.100-rc.1.21463.6
– 6.0.101 - /usr/local/share/dotnet/sdk/6.0.101
– 6.0.200 - /usr/local/share/dotnet/sdk/6.0.200
– 6.0.202 - /usr/local/share/dotnet/sdk/6.0.202
– 6.0.203 - /usr/local/share/dotnet/sdk/6.0.203
– 6.0.300 - /usr/local/share/dotnet/sdk/6.0.300
– 6.0.400-preview.22330.6 - /usr/local/share/dotnet/sdk/6.0.400-preview.22330.6
🔎 .NET SDK - Workload Deduplication Checkup...
🔎 .NET SDK - Workloads (6.0.301) Checkup...
❌ android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.440) not installed.
❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.300 : 15.4.430) not installed.
❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.400 : 15.4.430) not installed.
❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.400 : 15.4.430) not installed.
❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.400 : 12.3.430) not installed.
❌ maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.300 : 6.0.419) not installed.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Install or Update SDK Workloads
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
⏳ Attempting to fix: .NET SDK - Workloads (6.0.301)
SHELL: /bin/zsh /tmp/tmpqefU9i.tmp
zsh:1: command not found: PACKAGE_SOURCE_NUGET_ORG
Unhandled exception: System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at Microsoft.DotNet.Cli.NuGetPackageDownloader.PackageSourceLocation.ExpandLocalFeed(String[] sourceFeedOverrides)
at Microsoft.DotNet.Workloads.Workload.InstallingWorkloadCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version)
at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version, IReadOnlyCollection`1 workloadIds)
at Microsoft.DotNet.Cli.WorkloadInstallCommandParser.<>c.<ConstructCommand>b__6_0(ParseResult parseResult)
at Microsoft.DotNet.Cli.ParseResultCommandHandler.Invoke(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
Fix failed - Workload Install failed: `dotnet workload install --from-rollback-file "/tmp/maui-check-375bdbc5/workload.json" android ios maccatalyst tvos macos maui --source
"$(PACKAGE_SOURCE_NUGET_ORG)"`
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 There were one or more problems detected.
Please review the errors and correct them and run maui-check again.
Press enter to exit...
moz@Yeti-4 ~ maui-check config --dev --nuget-sources --dotnet-version --dotnet-pre true 1 ↵ 4313 15:11:15
⏳ Synchronizing configuration... ok
✔ Set global.json 'version': 7.0.100-preview.7.22362.31
✔ Set global.json 'allowPrerelease': True
✔ Added PackageSource to NuGet.config: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
– PackageSource exists in NuGet.config: https://api.nuget.org/v3/index.json
Press enter to exit...
moz@Yeti-4 ~ maui-check config --dev --nuget-sources --dotnet-version --dotnet-pre true ✔ 4314 15:11:51
⏳ Synchronizing configuration... ok
✔ Set global.json 'version': 7.0.100-preview.7.22362.31
✔ Set global.json 'allowPrerelease': True
– PackageSource exists in NuGet.config: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
– PackageSource exists in NuGet.config: https://api.nuget.org/v3/index.json
Press enter to exit...
moz@Yeti-4 ~ maui-check config --dev --nuget-sources --dotnet-version --dotnet-pre false ✔ 4314 15:12:02
⏳ Synchronizing configuration... ok
✔ Set global.json 'version': 7.0.100-preview.7.22362.31
✔ Set global.json 'allowPrerelease': False
– PackageSource exists in NuGet.config: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json
– PackageSource exists in NuGet.config: https://api.nuget.org/v3/index.json
Press enter to exit...
moz@Yeti-4 ~ maui-check ✔ 4315 15:12:11
_ _ _____ _____ __ __ _ _ _ ___
| \ | | | ____| |_ _| | \/ | / \ | | | | |_ _|
| \| | | _| | | | |\/| | / _ \ | | | | | |
_ | |\ | | |___ | | | | | | / ___ \ | |_| | | |
(_) |_| \_| |_____| |_| |_| |_| /_/ \_\ \___/ |___|
🚑 .NET MAUI Check v1.0.0.0 💉
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will attempt to evaluate your .NET MAUI development environment.
If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.
Thanks for choosing .NET MAUI!
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏳ Synchronizing configuration... ok
⏳ Scheduling appointments... ok
🔎 OpenJDK 11.0 Checkup...
✔ 11.0.12 (/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/..)
🔎 Visual Studio 17.3.0.1028 Checkup...
– Visual Studio for Mac (8.10.17.2)
🔎 Android SDK Checkup...
✔ emulator (31.2.7)
✔ build-tools;31.0.0 (31.0.0)
✔ platforms;android-31 (1)
✔ system-images;android-31;google_apis;x86_64 (8)
✔ platform-tools (31.0.3)
✔ cmdline-tools;5.0 (5.0)
🔎 Android Emulator Checkup...
✔ Emulator: pixel_2_q_10_0_-_api_29 found.
🔎 XCode 13.3 Checkup...
❌ Xcode.app (13.3) not installed.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Download XCode 13.3
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔎 .NET SDK Checkup...
– 2.1.4 - /usr/local/share/dotnet/sdk/2.1.4
– 2.1.302 - /usr/local/share/dotnet/sdk/2.1.302
– 2.1.504 - /usr/local/share/dotnet/sdk/2.1.504
– 2.1.505 - /usr/local/share/dotnet/sdk/2.1.505
– 2.1.810 - /usr/local/share/dotnet/sdk/2.1.810
– 2.1.811 - /usr/local/share/dotnet/sdk/2.1.811
– 2.2.203 - /usr/local/share/dotnet/sdk/2.2.203
– 3.0.100 - /usr/local/share/dotnet/sdk/3.0.100
– 3.0.101 - /usr/local/share/dotnet/sdk/3.0.101
– 3.1.100 - /usr/local/share/dotnet/sdk/3.1.100
– 3.1.101 - /usr/local/share/dotnet/sdk/3.1.101
– 3.1.102 - /usr/local/share/dotnet/sdk/3.1.102
– 3.1.200 - /usr/local/share/dotnet/sdk/3.1.200
– 3.1.202 - /usr/local/share/dotnet/sdk/3.1.202
– 3.1.300 - /usr/local/share/dotnet/sdk/3.1.300
– 3.1.301 - /usr/local/share/dotnet/sdk/3.1.301
– 3.1.302 - /usr/local/share/dotnet/sdk/3.1.302
– 3.1.401 - /usr/local/share/dotnet/sdk/3.1.401
– 3.1.402 - /usr/local/share/dotnet/sdk/3.1.402
– 3.1.403 - /usr/local/share/dotnet/sdk/3.1.403
– 3.1.404 - /usr/local/share/dotnet/sdk/3.1.404
– 3.1.405 - /usr/local/share/dotnet/sdk/3.1.405
– 3.1.406 - /usr/local/share/dotnet/sdk/3.1.406
– 3.1.407 - /usr/local/share/dotnet/sdk/3.1.407
– 3.1.408 - /usr/local/share/dotnet/sdk/3.1.408
– 3.1.410 - /usr/local/share/dotnet/sdk/3.1.410
– 3.1.411 - /usr/local/share/dotnet/sdk/3.1.411
– 3.1.412 - /usr/local/share/dotnet/sdk/3.1.412
– 3.1.413 - /usr/local/share/dotnet/sdk/3.1.413
– 3.1.414 - /usr/local/share/dotnet/sdk/3.1.414
– 3.1.416 - /usr/local/share/dotnet/sdk/3.1.416
– 3.1.418 - /usr/local/share/dotnet/sdk/3.1.418
– 3.1.419 - /usr/local/share/dotnet/sdk/3.1.419
– 3.1.421 - /usr/local/share/dotnet/sdk/3.1.421
– 5.0.100 - /usr/local/share/dotnet/sdk/5.0.100
– 5.0.101 - /usr/local/share/dotnet/sdk/5.0.101
– 5.0.102 - /usr/local/share/dotnet/sdk/5.0.102
– 5.0.103 - /usr/local/share/dotnet/sdk/5.0.103
– 5.0.201 - /usr/local/share/dotnet/sdk/5.0.201
– 5.0.202 - /usr/local/share/dotnet/sdk/5.0.202
– 5.0.301 - /usr/local/share/dotnet/sdk/5.0.301
– 5.0.302 - /usr/local/share/dotnet/sdk/5.0.302
– 5.0.400 - /usr/local/share/dotnet/sdk/5.0.400
– 5.0.401 - /usr/local/share/dotnet/sdk/5.0.401
– 5.0.402 - /usr/local/share/dotnet/sdk/5.0.402
– 5.0.404 - /usr/local/share/dotnet/sdk/5.0.404
– 5.0.405 - /usr/local/share/dotnet/sdk/5.0.405
– 5.0.407 - /usr/local/share/dotnet/sdk/5.0.407
– 5.0.408 - /usr/local/share/dotnet/sdk/5.0.408
– 6.0.100-preview.7.21379.14 - /usr/local/share/dotnet/sdk/6.0.100-preview.7.21379.14
– 6.0.100-rc.1.21463.6 - /usr/local/share/dotnet/sdk/6.0.100-rc.1.21463.6
– 6.0.101 - /usr/local/share/dotnet/sdk/6.0.101
– 6.0.200 - /usr/local/share/dotnet/sdk/6.0.200
– 6.0.202 - /usr/local/share/dotnet/sdk/6.0.202
– 6.0.203 - /usr/local/share/dotnet/sdk/6.0.203
– 6.0.300 - /usr/local/share/dotnet/sdk/6.0.300
– 6.0.400-preview.22330.6 - /usr/local/share/dotnet/sdk/6.0.400-preview.22330.6
🔎 .NET SDK - Workload Deduplication Checkup...
🔎 .NET SDK - Workloads (6.0.301) Checkup...
❌ android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.440) not installed.
❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.300 : 15.4.430) not installed.
❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.400 : 15.4.430) not installed.
❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.400 : 15.4.430) not installed.
❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.400 : 12.3.430) not installed.
❌ maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.300 : 6.0.419) not installed.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Install or Update SDK Workloads
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
⏳ Attempting to fix: .NET SDK - Workloads (6.0.301)
SHELL: /bin/zsh /var/folders/pv/lxwx2xqd16d1tctnscgb98_h0000gn/T/tmpppCT29.tmp
zsh:1: command not found: PACKAGE_SOURCE_NUGET_ORG
Unhandled exception: System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at Microsoft.DotNet.Cli.NuGetPackageDownloader.PackageSourceLocation.ExpandLocalFeed(String[] sourceFeedOverrides)
at Microsoft.DotNet.Workloads.Workload.InstallingWorkloadCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version)
at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version, IReadOnlyCollection`1 workloadIds)
at Microsoft.DotNet.Cli.WorkloadInstallCommandParser.<>c.<ConstructCommand>b__6_0(ParseResult parseResult)
at Microsoft.DotNet.Cli.ParseResultCommandHandler.Invoke(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
Fix failed - Workload Install failed: `dotnet workload install --from-rollback-file "/var/folders/pv/lxwx2xqd16d1tctnscgb98_h0000gn/T/maui-check-cea16bd5/workload.json" android ios maccatalyst tvos
macos maui --source "$(PACKAGE_SOURCE_NUGET_ORG)"`
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 There were one or more problems detected.
Please review the errors and correct them and run maui-check again.
Press enter to exit...
c
moz@Yeti-4 ~ clear 1 ↵ 4316 15:12:51
moz@Yeti-4 ~ maui-check ✔ 4317 15:12:53
_ _ _____ _____ __ __ _ _ _ ___
| \ | | | ____| |_ _| | \/ | / \ | | | | |_ _|
| \| | | _| | | | |\/| | / _ \ | | | | | |
_ | |\ | | |___ | | | | | | / ___ \ | |_| | | |
(_) |_| \_| |_____| |_| |_| |_| /_/ \_\ \___/ |___|
🚑 .NET MAUI Check v1.0.0.0 💉
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
This tool will attempt to evaluate your .NET MAUI development environment.
If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.
Thanks for choosing .NET MAUI!
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏳ Synchronizing configuration... ok
⏳ Scheduling appointments... ok
🔎 OpenJDK 11.0 Checkup...
✔ 11.0.12 (/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/..)
🔎 Visual Studio 17.3.0.1028 Checkup...
– Visual Studio for Mac (8.10.17.2)
🔎 Android SDK Checkup...
✔ emulator (31.2.7)
✔ build-tools;31.0.0 (31.0.0)
✔ platforms;android-31 (1)
✔ system-images;android-31;google_apis;x86_64 (8)
✔ platform-tools (31.0.3)
✔ cmdline-tools;5.0 (5.0)
🔎 Android Emulator Checkup...
✔ Emulator: pixel_2_q_10_0_-_api_29 found.
🔎 XCode 13.3 Checkup...
❌ Xcode.app (13.3) not installed.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Download XCode 13.3
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔎 .NET SDK Checkup...
– 2.1.4 - /usr/local/share/dotnet/sdk/2.1.4
– 2.1.302 - /usr/local/share/dotnet/sdk/2.1.302
– 2.1.504 - /usr/local/share/dotnet/sdk/2.1.504
– 2.1.505 - /usr/local/share/dotnet/sdk/2.1.505
– 2.1.810 - /usr/local/share/dotnet/sdk/2.1.810
– 2.1.811 - /usr/local/share/dotnet/sdk/2.1.811
– 2.2.203 - /usr/local/share/dotnet/sdk/2.2.203
– 3.0.100 - /usr/local/share/dotnet/sdk/3.0.100
– 3.0.101 - /usr/local/share/dotnet/sdk/3.0.101
– 3.1.100 - /usr/local/share/dotnet/sdk/3.1.100
– 3.1.101 - /usr/local/share/dotnet/sdk/3.1.101
– 3.1.102 - /usr/local/share/dotnet/sdk/3.1.102
– 3.1.200 - /usr/local/share/dotnet/sdk/3.1.200
– 3.1.202 - /usr/local/share/dotnet/sdk/3.1.202
– 3.1.300 - /usr/local/share/dotnet/sdk/3.1.300
– 3.1.301 - /usr/local/share/dotnet/sdk/3.1.301
– 3.1.302 - /usr/local/share/dotnet/sdk/3.1.302
– 3.1.401 - /usr/local/share/dotnet/sdk/3.1.401
– 3.1.402 - /usr/local/share/dotnet/sdk/3.1.402
– 3.1.403 - /usr/local/share/dotnet/sdk/3.1.403
– 3.1.404 - /usr/local/share/dotnet/sdk/3.1.404
– 3.1.405 - /usr/local/share/dotnet/sdk/3.1.405
– 3.1.406 - /usr/local/share/dotnet/sdk/3.1.406
– 3.1.407 - /usr/local/share/dotnet/sdk/3.1.407
– 3.1.408 - /usr/local/share/dotnet/sdk/3.1.408
– 3.1.410 - /usr/local/share/dotnet/sdk/3.1.410
– 3.1.411 - /usr/local/share/dotnet/sdk/3.1.411
– 3.1.412 - /usr/local/share/dotnet/sdk/3.1.412
– 3.1.413 - /usr/local/share/dotnet/sdk/3.1.413
– 3.1.414 - /usr/local/share/dotnet/sdk/3.1.414
– 3.1.416 - /usr/local/share/dotnet/sdk/3.1.416
– 3.1.418 - /usr/local/share/dotnet/sdk/3.1.418
– 3.1.419 - /usr/local/share/dotnet/sdk/3.1.419
– 3.1.421 - /usr/local/share/dotnet/sdk/3.1.421
– 5.0.100 - /usr/local/share/dotnet/sdk/5.0.100
– 5.0.101 - /usr/local/share/dotnet/sdk/5.0.101
– 5.0.102 - /usr/local/share/dotnet/sdk/5.0.102
– 5.0.103 - /usr/local/share/dotnet/sdk/5.0.103
– 5.0.201 - /usr/local/share/dotnet/sdk/5.0.201
– 5.0.202 - /usr/local/share/dotnet/sdk/5.0.202
– 5.0.301 - /usr/local/share/dotnet/sdk/5.0.301
– 5.0.302 - /usr/local/share/dotnet/sdk/5.0.302
– 5.0.400 - /usr/local/share/dotnet/sdk/5.0.400
– 5.0.401 - /usr/local/share/dotnet/sdk/5.0.401
– 5.0.402 - /usr/local/share/dotnet/sdk/5.0.402
– 5.0.404 - /usr/local/share/dotnet/sdk/5.0.404
– 5.0.405 - /usr/local/share/dotnet/sdk/5.0.405
– 5.0.407 - /usr/local/share/dotnet/sdk/5.0.407
– 5.0.408 - /usr/local/share/dotnet/sdk/5.0.408
– 6.0.100-preview.7.21379.14 - /usr/local/share/dotnet/sdk/6.0.100-preview.7.21379.14
– 6.0.100-rc.1.21463.6 - /usr/local/share/dotnet/sdk/6.0.100-rc.1.21463.6
– 6.0.101 - /usr/local/share/dotnet/sdk/6.0.101
– 6.0.200 - /usr/local/share/dotnet/sdk/6.0.200
– 6.0.202 - /usr/local/share/dotnet/sdk/6.0.202
– 6.0.203 - /usr/local/share/dotnet/sdk/6.0.203
– 6.0.300 - /usr/local/share/dotnet/sdk/6.0.300
– 6.0.400-preview.22330.6 - /usr/local/share/dotnet/sdk/6.0.400-preview.22330.6
🔎 .NET SDK - Workload Deduplication Checkup...
🔎 .NET SDK - Workloads (6.0.301) Checkup...
❌ android (Microsoft.NET.Sdk.Android.Manifest-6.0.300 : 32.0.440) not installed.
❌ ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.300 : 15.4.430) not installed.
❌ maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.400 : 15.4.430) not installed.
❌ tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.400 : 15.4.430) not installed.
❌ macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.400 : 12.3.430) not installed.
❌ maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.300 : 6.0.419) not installed.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
💉 Recommendation: Install or Update SDK Workloads
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 Attempt to fix? [y/n] (y): y
⏳ Attempting to fix: .NET SDK - Workloads (6.0.301)
SHELL: /bin/zsh /var/folders/pv/lxwx2xqd16d1tctnscgb98_h0000gn/T/tmpB7DtGC.tmp
zsh:1: command not found: PACKAGE_SOURCE_NUGET_ORG
Unhandled exception: System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at Microsoft.DotNet.Cli.NuGetPackageDownloader.PackageSourceLocation.ExpandLocalFeed(String[] sourceFeedOverrides)
at Microsoft.DotNet.Workloads.Workload.InstallingWorkloadCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version)
at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version, IReadOnlyCollection`1 workloadIds)
at Microsoft.DotNet.Cli.WorkloadInstallCommandParser.<>c.<ConstructCommand>b__6_0(ParseResult parseResult)
at Microsoft.DotNet.Cli.ParseResultCommandHandler.Invoke(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
Fix failed - Workload Install failed: `dotnet workload install --from-rollback-file "/var/folders/pv/lxwx2xqd16d1tctnscgb98_h0000gn/T/maui-check-260fece0/workload.json" android ios maccatalyst tvos
macos maui --source "$(PACKAGE_SOURCE_NUGET_ORG)"`
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🔔 There were one or more problems detected.
Please review the errors and correct them and run maui-check again.
Press enter to exit...
Also getting this.
I'm on an m1 Mac. Removed all previous .net sdks to be clean, and tried maui.
Agree with the previous posters, the issue is the same for me.
I think the issue is the way the --source variable is set. If I try the same syntax using just 'path', I get the same results.
% echo "$(PATH)"
zsh: command not found: PATH
SHELL: /bin/zsh /var/folders/z6/p8q3jjpd0tbb4x5csb6bgn2c0000gn/T/tmpYUp7So.tmp
zsh:1: command not found: PACKAGE_SOURCE_NUGET_ORG
Unhandled exception: System.ArgumentException: The path is empty. (Parameter 'path')
...
Fix failed - Workload Install failed: `dotnet workload install --from-rollback-file "/var/folders/z6/p8q3jjpd0tbb4x5csb6bgn2c0000gn/T/maui-check-3ab12ecd/workload.json" android ios maccatalyst tvos macos maui
--source "$(PACKAGE_SOURCE_NUGET_ORG)"`
───────────────────────────────────────────
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
Use VSMac Preview https://twitter.com/gazmcghee/status/1576934143975227397?s=20&t=vTFAlEypvtN5xqBUz0pplg
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 maui-check v2.0.0.0
with .NET SDK v7.0.400
installed.
@Redth Is there any foreseeable date for releasing a fix for this? The JetBrains blogpost about setting up MAUI for Rider requires using maui-check
but if it's not working, I can't use MAUI with Rider at all.
Thank you for your answer in advance!