You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Workload Validation failing for Multi platform development, especially android #367
uno-check fails to validate Workloads for multi platform development:
The file it should have found:
Path to file: "C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.sdk.android\35.0.7" WorkloadManifest.json
As you might recognize in the added gif above or in the attached terminal-output, its also looping multiple times throught that android setup prompting the installation each time.
Found also workloads like the listed ones right here, but seems like they might not get recognized, so it would make sense to check them also maybe?
C:\ProgramData\dotnet\workloads
while uno-check searches for 9.0.2, which is indeed the latest version that has been installed, but seems like that might also be a dotnet issue
Workaround could be, to let uno-check not only search for the folder matching the version number (if it searches there) then it will most likly not find them on that other location.
So if uno.check is telling it found that workloads, initially at the workloads checkup, it seem quite wrong that it should prompt they are missing.
Yes of corse, its possible to use force dotnet but that should not be required if a adjustment to search algorithm might also fix this inbetween. I not really want to clutter my computer if possible ;)
In case the verbose flagged output helps you, added this also here:
Thanks. This may be related to the release of 9.0.203. We've just published a dev build of uno-check that updates this (1.31.0-dev.23), can you try and see if it helps?
my dotnet manual install is still 202, while vs 2022 updated to 203 already... does that manual installation needs to get updated also? Its strange those two are not listening to each other but its visual studio XD would wonder when some windows/microsoft thing is not doing its own things
how often do I (or the tool) need to create a Android emulator? it tryed alredy last time...
and same output there as before :( and I already set the env var back to the default
and additionally the sign in in vs 2022 seems to be related to this issue somehow. I was able to develop on that maschine before with that and now its complaining it found problems and wants me to sign in again...
thinking of... is it possible to run uno check via vs code or 2022 in debug to enable step through and maybe catch the culprit?
checking out the verbose output... the Environment Variables it tells to set:
> Android SDK Checkup...
ValidateAndroidSdkLocation: ``, result=False
ValidateAndroidSdkLocation: ``, result=False
Looking for Android SDK...
ValidateAndroidSdkLocation: `C:\Program Files (x86)\Android\android-sdk`, result=True
ValidateJavaSdkLocation: `C:\Program Files\Microsoft\jdk-11.0.20.101-hotspot`, result=True
ValidateAndroidNdkLocation: ``, result=False
ValidateAndroidNdkLocation: ``, result=False
Looking for Android NDK...
Looking for Android SDK...
SetEnvironmentVariable: ANDROID_SDK_ROOT=C:\Program Files (x86)\Android\android-sdk
SetEnvironmentVariable: ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
- emulator (35.4.9)
- build-tools;35.0.0 (35.0.0)
- platforms;android-35 (1)
- system-images;android-35;google_apis;x86_64 (9)
- platform-tools (35.0.2)
- cmdline-tools;13.0 (13.0)
> Android Emulator Checkup...
Running C:\Program Files\Microsoft\jdk-11.0.20.101-hotspot\bin\java.exe com.android.sdklib.tool.AvdManagerCli list avd in C:\Program Files (x86)\Android\android-sdk\cmdline-tools\13.0\lib (with input "<no input>")
Failed to list avds: Picked up JAVA_TOOL_OPTIONS: -Dcom.android.sdkmanager.toolsdir="C:\Program Files (x86)\Android\android-sdk\cmdline-tools\13.0"
Fehler: Beim Laden der Klasse com.android.sdklib.tool.AvdManagerCli ist ein LinkageError aufgetreten
java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/AvdManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
Running C:\Program Files\Microsoft\jdk-11.0.20.101-hotspot\bin\java.exe com.android.sdklib.tool.AvdManagerCli list device in C:\Program Files (x86)\Android\android-sdk\cmdline-tools\13.0\lib (with input "<no input>")
Failed to list devices: Picked up JAVA_TOOL_OPTIONS: -Dcom.android.sdkmanager.toolsdir="C:\Program Files (x86)\Android\android-sdk\cmdline-tools\13.0"
Fehler: Beim Laden der Klasse com.android.sdklib.tool.AvdManagerCli ist ein LinkageError aufgetreten
java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/AvdManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
Listing devices:
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
¤ Recommendation: Create an Android Emulator
──────────────────────────────────────────────────
Those are not created... not at user scope neither at system scope. Should they?
One is about the workloads, the other is about the emulators. If the issue about the workloads is fixed with the update, let's close this current issue.
For the emulator let's open another issue, as it's more related to your current setup which seems to have multiple versions of java installed.
the workloads are still same uno check issue as at the time I opened the issue, so I would not see it as solved isnt it? The pasted bash is just a part I wanted to highlight. you can see the full output in the txt file above it in the same post.
the openjdk can be followed in an other issue but thats heading of issue below this one tells about linux while my system is windows, which is not equal...
the workloads most likely also part of vs 2022 ide prompting "uno-check found problems"
I am currently running a "Repair" with vs 2022 installer because I am thinking: When that tells thats compiled with a more recent version and I before set the openjdk JAVA_HOME var to the 24 version, that might had executed it, done that compile which might have not been before and causing this issue there. I can not tell if thats related to the actual workloads, do you know that? if not, I could add that details to the other issue for brevity 👍
and the search for workloads... for uno check, are those in sdk-manifest not valid for the check or is it just not searching there? I mean, I trying to understand, why the vs 2022 workloads added ones are not valid for uno-check so they seem to have installed twice?
checked information and sdk and --list-sdks output on my dotnet cmd...
what
PS C:\Users\Sonja\source\repos\uno.check> dotnet sdk check
.NET SDKs:
Version Status
-----------------------------------------
9.0.202 Patch 9.0.203 ist verfügbar.
9.0.203 Auf dem neuesten Stand.
.NET-Runtimes:
Name Version Status
-------------------------------------------------------------------------
Microsoft.AspNetCore.App 8.0.15 Auf dem neuesten Stand.
Microsoft.NETCore.App 8.0.15 Auf dem neuesten Stand.
Microsoft.WindowsDesktop.App 8.0.15 Auf dem neuesten Stand.
Microsoft.AspNetCore.App 9.0.3 Patch 9.0.4 ist verfügbar.
Microsoft.NETCore.App 9.0.3 Patch 9.0.4 ist verfügbar.
Microsoft.WindowsDesktop.App 9.0.3 Patch 9.0.4 ist verfügbar.
Microsoft.AspNetCore.App 9.0.4 Auf dem neuesten Stand.
Microsoft.NETCore.App 9.0.4 Auf dem neuesten Stand.
Microsoft.WindowsDesktop.App 9.0.4 Auf dem neuesten Stand.
Die neuesten Versionen von .NET können über https://aka.ms/dotnet-core-download installiert werden. Weitere Informationen zu den .NET-Lebenszyklen finden Sie unter https://aka.ms/dotnet-core-support.
PS C:\Users\Sonja\source\repos\uno.check> dotnet --list-sdks
9.0.202 [C:\Program Files\dotnet\sdk]
9.0.203 [C:\Program Files\dotnet\sdk]
PS C:\Users\Sonja\source\repos\uno.check> dotnet --version
9.0.203
PS C:\Users\Sonja\source\repos\uno.check> dotnet --info
.NET SDK:
Version: 9.0.203
Commit: dc7acfa194
Workload version: 9.0.200-manifests.12d79ccf
MSBuild version: 17.13.20+a4ef1e90f
Laufzeitumgebung:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.203\
Installierte .NET-Workloads:
[android]
Installationsquelle: SDK 9.0.200, VS 17.13.35931.197
Manifestversion: 35.0.39/9.0.100
Manifestpfad: C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.sdk.android\35.0.39\WorkloadManifest.json
Installationstyp: Msi
[maui-windows]
Installationsquelle: SDK 9.0.200, VS 17.13.35931.197
Manifestversion: 9.0.14/9.0.100
Manifestpfad: C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.sdk.maui\9.0.14\WorkloadManifest.json
Installationstyp: Msi
[tvos]
Installationsquelle: VS 17.13.35931.197
Manifestversion: 18.2.9180/9.0.100
Manifestpfad: C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.sdk.tvos\18.2.9180\WorkloadManifest.json
Installationstyp: Msi
[macos]
Installationsquelle: VS 17.13.35931.197
Manifestversion: 15.2.9180/9.0.100
Manifestpfad: C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.sdk.macos\15.2.9180\WorkloadManifest.json
Installationstyp: Msi
[maccatalyst]
Installationsquelle: VS 17.13.35931.197
Manifestversion: 18.2.9180/9.0.100
Manifestpfad: C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.sdk.maccatalyst\18.2.9180\WorkloadManifest.json
Installationstyp: Msi
[ios]
Installationsquelle: VS 17.13.35931.197
Manifestversion: 18.2.9180/9.0.100
Manifestpfad: C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.sdk.ios\18.2.9180\WorkloadManifest.json
Installationstyp: Msi
[wasm-tools]
Installationsquelle: VS 17.13.35931.197
Manifestversion: 9.0.4/9.0.100
Manifestpfad: C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.workload.mono.toolchain.current\9.0.4\WorkloadManifest.json
Installationstyp: Msi
Konfiguriert für die Verwendung loose manifests beim Installieren neuer Manifeste.
Host:
Version: 9.0.4
Architecture: x64
Commit: f57e6dc747
.NET SDKs installed:
9.0.202 [C:\Program Files\dotnet\sdk]
9.0.203 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
PS C:\Users\Sonja\source\repos\uno.check> dotnet workload list
Installierte Workload-ID Manifestversion Installationsquelle
------------------------------------------------------------------------------------
android 35.0.39/9.0.100 SDK 9.0.200, VS 17.13.35931.197
ios 18.2.9180/9.0.100 VS 17.13.35931.197
maccatalyst 18.2.9180/9.0.100 VS 17.13.35931.197
macos 15.2.9180/9.0.100 VS 17.13.35931.197
maui-windows 9.0.14/9.0.100 SDK 9.0.200, VS 17.13.35931.197
tvos 18.2.9180/9.0.100 VS 17.13.35931.197
wasm-tools 9.0.4/9.0.100 VS 17.13.35931.197
Verwenden Sie „dotnet workload search“, um zusätzliche zu installierende Workloads zu finden.
Updates sind für die folgenden Workloads verfügbar: android tvos macos maccatalyst ios. Führen Sie „dotnet workload update“ aus, um die neueste Updates zu erhalten.
but with the afterwards executed repair if we use DOTNET_FORCE that is not doing that recommended update the dotnet cli recomments.
Suggestion would maybe be, since its asking us to "Install or Update" why it isnt updating as its asked for?
--verbose output of uno-check shows that command beeing done before check of workloads but with --print-rollback. I do not know anything about this argument, but it really seems like thats causing this, because when using a simple dotnet workload update without any more arguments or config and et voila I would tell from the output, its updated those uno-check did not find as needed:
PS C:\Users\Sonja\source\repos\uno.check> dotnet workload update
Das Ankündigungsmanifest "microsoft.net.sdk.macos" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.emscripten.net6" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.maccatalyst" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.mono.toolchain.net6" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.mono.toolchain.net8" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.emscripten.net8" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.tvos" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.mono.toolchain.current" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.aspire" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.emscripten.net7" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.ios" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.emscripten.current" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.mono.toolchain.net7" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.android" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.maui" wurde aktualisiert.
Downloading microsoft.net.sdk.android.manifest-9.0.100.msi.x64 (35.0.61)
microsoft.net.sdk.android.manifest-9.0.100.msi.x64 wird installiert .... Done
Downloading microsoft.net.sdk.ios.manifest-9.0.100.msi.x64 (18.4.9288)
microsoft.net.sdk.ios.manifest-9.0.100.msi.x64 wird installiert ....... Done
Downloading microsoft.net.sdk.maccatalyst.manifest-9.0.100.msi.x64 (18.4.9288)
microsoft.net.sdk.maccatalyst.manifest-9.0.100.msi.x64 wird installiert .... Done
Downloading microsoft.net.sdk.macos.manifest-9.0.100.msi.x64 (15.4.9288)
microsoft.net.sdk.macos.manifest-9.0.100.msi.x64 wird installiert .... Done
Downloading microsoft.net.sdk.tvos.manifest-9.0.100.msi.x64 (18.4.9288)
microsoft.net.sdk.tvos.manifest-9.0.100.msi.x64 wird installiert .... Done
Installationseinträge für Visual Studio Workloads werden geschrieben: „tvos, macos, maccatalyst, ios, wasm-tools“
Downloading Microsoft.Android.Sdk.Windows.Msi.x64 (35.0.61)
Microsoft.Android.Sdk.Windows.Msi.x64 wird installiert .......... Done
Downloading Microsoft.Android.Sdk.Windows.Msi.x64 (34.0.154)
Microsoft.Android.Sdk.Windows.Msi.x64 wird installiert ......... Done
Downloading Microsoft.Android.Ref.35.Msi.x64 (35.0.61)
Microsoft.Android.Ref.35.Msi.x64 wird installiert ..... Done
Downloading Microsoft.Android.Runtime.35.android-arm.Msi.x64 (35.0.61)
Microsoft.Android.Runtime.35.android-arm.Msi.x64 wird installiert ..... Done
Downloading Microsoft.Android.Runtime.35.android-arm64.Msi.x64 (35.0.61)
Microsoft.Android.Runtime.35.android-arm64.Msi.x64 wird installiert ..... Done
Downloading Microsoft.Android.Runtime.35.android-x86.Msi.x64 (35.0.61)
Microsoft.Android.Runtime.35.android-x86.Msi.x64 wird installiert ..... Done
Downloading Microsoft.Android.Runtime.35.android-x64.Msi.x64 (35.0.61)
Microsoft.Android.Runtime.35.android-x64.Msi.x64 wird installiert ..... Done
Downloading Microsoft.Android.Templates.Msi.x64 (35.0.61)
Microsoft.Android.Templates.Msi.x64 wird installiert .... Done
Downloading Microsoft.Maui.Graphics.Win2D.WinUI.Desktop.Msi.x64 (9.0.14)
Downloading Microsoft.AspNetCore.Components.WebView.Maui.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Sdk.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Sdk.Msi.x64 (8.0.100)
Downloading Microsoft.Maui.Graphics.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Resizetizer.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Templates.net9.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Templates.net8.Msi.x64 (8.0.100)
Downloading Microsoft.Maui.Core.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Controls.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Controls.Build.Tasks.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Controls.Core.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Controls.Xaml.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Controls.Compatibility.Msi.x64 (9.0.14)
Downloading Microsoft.Maui.Essentials.Msi.x64 (9.0.14)
Downloading Microsoft.tvOS.Sdk.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.tvOS.Sdk.net9.0_18.4.Msi.x64 wird installiert ...... Done
Downloading Microsoft.tvOS.Sdk.net8.0_17.0.Msi.x64 (17.0.8523)
Downloading Microsoft.tvOS.Sdk.net8.0_18.0.Msi.x64 (18.0.8324)
Microsoft.tvOS.Sdk.net8.0_18.0.Msi.x64 wird installiert ..... Done
Downloading Microsoft.tvOS.Sdk.net9.0_18.0.Msi.x64 (18.0.9617)
Downloading Microsoft.tvOS.Ref.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.tvOS.Ref.net9.0_18.4.Msi.x64 wird installiert .... Done
Downloading Microsoft.tvOS.Runtime.tvos-arm64.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.tvOS.Runtime.tvos-arm64.net9.0_18.4.Msi.x64 wird installiert ..... Done
Downloading Microsoft.tvOS.Runtime.tvossimulator-x64.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.tvOS.Runtime.tvossimulator-x64.net9.0_18.4.Msi.x64 wird installiert ..... Done
Downloading Microsoft.tvOS.Runtime.tvossimulator-arm64.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.tvOS.Runtime.tvossimulator-arm64.net9.0_18.4.Msi.x64 wird installiert ..... Done
Downloading Microsoft.tvOS.Templates.Msi.x64 (18.4.9288)
Microsoft.tvOS.Templates.Msi.x64 wird installiert .... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.tvos-arm64.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.Mono.tvossimulator-arm64.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.Mono.tvossimulator-x64.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.Mono.tvos-arm64.Msi.x64 (8.0.15)
Downloading Microsoft.NETCore.App.Runtime.Mono.tvossimulator-arm64.Msi.x64 (8.0.15)
Downloading Microsoft.NETCore.App.Runtime.Mono.tvossimulator-x64.Msi.x64 (8.0.15)
Downloading Microsoft.macOS.Sdk.net9.0_15.4.Msi.x64 (15.4.9288)
Microsoft.macOS.Sdk.net9.0_15.4.Msi.x64 wird installiert ..... Done
Downloading Microsoft.macOS.Sdk.net8.0_14.0.Msi.x64 (14.0.8523)
Downloading Microsoft.macOS.Sdk.net8.0_15.0.Msi.x64 (15.0.8324)
Microsoft.macOS.Sdk.net8.0_15.0.Msi.x64 wird installiert ..... Done
Downloading Microsoft.macOS.Sdk.net9.0_15.0.Msi.x64 (15.0.9617)
Downloading Microsoft.macOS.Ref.net9.0_15.4.Msi.x64 (15.4.9288)
Microsoft.macOS.Ref.net9.0_15.4.Msi.x64 wird installiert ..... Done
Downloading Microsoft.macOS.Runtime.osx-x64.net9.0_15.4.Msi.x64 (15.4.9288)
Microsoft.macOS.Runtime.osx-x64.net9.0_15.4.Msi.x64 wird installiert ...... Done
Downloading Microsoft.macOS.Runtime.osx-arm64.net9.0_15.4.Msi.x64 (15.4.9288)
Microsoft.macOS.Runtime.osx-arm64.net9.0_15.4.Msi.x64 wird installiert ...... Done
Downloading Microsoft.macOS.Templates.Msi.x64 (15.4.9288)
Microsoft.macOS.Templates.Msi.x64 wird installiert .... Done
Downloading Microsoft.MacCatalyst.Sdk.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.MacCatalyst.Sdk.net9.0_18.4.Msi.x64 wird installiert ...... Done
Downloading Microsoft.MacCatalyst.Sdk.net8.0_17.0.Msi.x64 (17.0.8523)
Downloading Microsoft.MacCatalyst.Sdk.net8.0_18.0.Msi.x64 (18.0.8324)
Microsoft.MacCatalyst.Sdk.net8.0_18.0.Msi.x64 wird installiert .... Done
Downloading Microsoft.MacCatalyst.Sdk.net9.0_18.0.Msi.x64 (18.0.9617)
Downloading Microsoft.MacCatalyst.Ref.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.MacCatalyst.Ref.net9.0_18.4.Msi.x64 wird installiert .... Done
Downloading Microsoft.MacCatalyst.Runtime.maccatalyst-x64.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.MacCatalyst.Runtime.maccatalyst-x64.net9.0_18.4.Msi.x64 wird installiert ..... Done
Downloading Microsoft.MacCatalyst.Runtime.maccatalyst-arm64.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.MacCatalyst.Runtime.maccatalyst-arm64.net9.0_18.4.Msi.x64 wird installiert ..... Done
Downloading Microsoft.MacCatalyst.Templates.Msi.x64 (18.4.9288)
Microsoft.MacCatalyst.Templates.Msi.x64 wird installiert .... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.maccatalyst-arm64.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.Mono.maccatalyst-x64.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.Mono.maccatalyst-arm64.Msi.x64 (8.0.15)
Downloading Microsoft.NETCore.App.Runtime.Mono.maccatalyst-x64.Msi.x64 (8.0.15)
Downloading Microsoft.iOS.Sdk.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.iOS.Sdk.net9.0_18.4.Msi.x64 wird installiert ...... Done
Downloading Microsoft.iOS.Sdk.net8.0_17.0.Msi.x64 (17.0.8523)
Downloading Microsoft.iOS.Sdk.net8.0_18.0.Msi.x64 (18.0.8324)
Microsoft.iOS.Sdk.net8.0_18.0.Msi.x64 wird installiert ...... Done
Downloading Microsoft.iOS.Sdk.net9.0_18.0.Msi.x64 (18.0.9617)
Downloading Microsoft.iOS.Windows.Sdk.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.iOS.Windows.Sdk.net9.0_18.4.Msi.x64 wird installiert ...... Done
Downloading Microsoft.iOS.Windows.Sdk.net8.0_17.0.Msi.x64 (17.0.8523)
Downloading Microsoft.iOS.Windows.Sdk.net8.0_18.0.Msi.x64 (18.0.8324)
Microsoft.iOS.Windows.Sdk.net8.0_18.0.Msi.x64 wird installiert ...... Done
Downloading Microsoft.iOS.Windows.Sdk.net9.0_18.0.Msi.x64 (18.0.9617)
Downloading Microsoft.iOS.Ref.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.iOS.Ref.net9.0_18.4.Msi.x64 wird installiert .... Done
Downloading Microsoft.iOS.Runtime.ios-arm64.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.iOS.Runtime.ios-arm64.net9.0_18.4.Msi.x64 wird installiert ..... Done
Downloading Microsoft.iOS.Runtime.iossimulator-x64.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.iOS.Runtime.iossimulator-x64.net9.0_18.4.Msi.x64 wird installiert ..... Done
Downloading Microsoft.iOS.Runtime.iossimulator-arm64.net9.0_18.4.Msi.x64 (18.4.9288)
Microsoft.iOS.Runtime.iossimulator-arm64.net9.0_18.4.Msi.x64 wird installiert ...... Done
Downloading Microsoft.iOS.Templates.Msi.x64 (18.4.9288)
Microsoft.iOS.Templates.Msi.x64 wird installiert .... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.ios-arm64.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.Mono.ios-arm64.Msi.x64 (8.0.15)
Downloading Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64.Msi.x64 (8.0.15)
Downloading Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64.Msi.x64 (8.0.15)
Downloading Microsoft.NET.Runtime.WebAssembly.Sdk.Msi.x64 (9.0.4)
Downloading Microsoft.NET.Sdk.WebAssembly.Pack.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.Mono.browser-wasm.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm.Msi.x64 (9.0.4)
Downloading Microsoft.NET.Runtime.Emscripten.3.1.56.Node.win-x64.Msi.x64 (9.0.4)
Downloading Microsoft.NET.Runtime.Emscripten.3.1.56.Python.win-x64.Msi.x64 (9.0.4)
Downloading Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64.Msi.x64 (9.0.4)
Downloading Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.win-x64.Msi.x64 (9.0.4)
Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64.Msi.x64 (8.0.13)
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64.Msi.x64 wird entfernt .... Done
Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64.Msi.x64 (8.0.14)
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64.Msi.x64 wird entfernt .... Done
Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64.Msi.x64 (9.0.0)
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64.Msi.x64 wird entfernt .... Done
Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64.Msi.x64 (9.0.2)
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64.Msi.x64 wird entfernt .... Done
Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86.Msi.x64 (8.0.13)
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86.Msi.x64 wird entfernt .... Done
Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86.Msi.x64 (8.0.14)
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86.Msi.x64 wird entfernt .... Done
Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86.Msi.x64 (9.0.0)
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86.Msi.x64 wird entfernt .... Done
Downloading Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86.Msi.x64 (9.0.2)
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86.Msi.x64 wird entfernt .... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64 (8.0.13)
Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64 (8.0.14)
Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64 (9.0.0)
Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64 (9.0.2)
Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.x64 (8.0.13)
Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.x64 wird entfernt ...... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.x64 (8.0.14)
Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.x64 (9.0.0)
Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.x64 (9.0.2)
Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.x64 (8.0.13)
Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.x64 wird entfernt ...... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.x64 (8.0.14)
Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.x64 wird entfernt ...... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.x64 (9.0.0)
Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.x64 wird entfernt ...... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.x64 (9.0.2)
Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.x64 (8.0.13)
Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.x64 (8.0.14)
Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.x64 (9.0.0)
Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.x64 wird entfernt ..... Done
Downloading Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.x64 (9.0.2)
Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.x64 wird entfernt ..... Done
Workload(s) erfolgreich aktualisiert: android maui-windows tvos macos maccatalyst ios wasm-tools.
PS C:\Users\Sonja\source\repos\uno.check>
that was done in vs code terminal, but I dont think that makes any big difference.
that did not fix maui workload missing, so just tryed by accepting its fix recommendation
for reference, thats the state before the update without any arguments, which added for android before accepting fix:
and after fix, I do now have two maui workloads...
C:\Windows\System32>dotnet workload update
Das Ankündigungsmanifest "microsoft.net.sdk.maui" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.emscripten.net8" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.macos" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.android" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.maccatalyst" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.tvos" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.mono.toolchain.net6" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.emscripten.net6" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.ios" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.emscripten.current" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.mono.toolchain.net7" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.mono.toolchain.net8" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.emscripten.net7" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.workload.mono.toolchain.current" wurde aktualisiert.
Das Ankündigungsmanifest "microsoft.net.sdk.aspire" wurde aktualisiert.
Workload(s) erfolgreich aktualisiert: android ios maccatalyst macos maui maui-windows tvos wasm-tools.
C:\Windows\System32>
would it be possible to remove that duplicate on windows and allow to choose between using a lower .net from rollback and the only update without this? the update cmd beside maui workload (because its not wanting windows maybe?) did already satisfy uno check so I would prefer that from user view.
For completeness, NOW on my maschine is only left the Emulator problem as real problem. I am not actively developing to android currently, but was planning to if I collected enough knowledge at some point to finalize my own application.
Activity
jeromelaban commentedon Apr 11, 2025
Thanks. This may be related to the release of 9.0.203. We've just published a dev build of uno-check that updates this (1.31.0-dev.23), can you try and see if it helps?
DevTKSS commentedon Apr 11, 2025
how do I get the dev package?
DevTKSS commentedon Apr 11, 2025
my dotnet manual install is still 202, while vs 2022 updated to 203 already... does that manual installation needs to get updated also? Its strange those two are not listening to each other but its visual studio XD would wonder when some windows/microsoft thing is not doing its own things
DevTKSS commentedon Apr 11, 2025
dotnet lists me as latest the version 1.30.1 of uno.check when searching for it
agneszitte commentedon Apr 11, 2025
@DevTKSS for 1.31.0-dev.23:
DevTKSS commentedon Apr 11, 2025
how often do I (or the tool) need to create a Android emulator? it tryed alredy last time...
and same output there as before :( and I already set the env var back to the default
Uno Platform Check.txt
DevTKSS commentedon Apr 11, 2025
and additionally the sign in in vs 2022 seems to be related to this issue somehow. I was able to develop on that maschine before with that and now its complaining it found problems and wants me to sign in again...
DevTKSS commentedon Apr 11, 2025
hoping its remembering the sign-in now...
DevTKSS commentedon Apr 11, 2025
uninstall -> reinstall also not solves it. will try with restart computer, but I dont think that would do anything
DevTKSS commentedon Apr 11, 2025
nope, no improvement...
Administrator PowerShell.txt
thinking of... is it possible to run uno check via vs code or 2022 in debug to enable step through and maybe catch the culprit?
checking out the verbose output... the Environment Variables it tells to set:
Those are not created... not at user scope neither at system scope. Should they?
jeromelaban commentedon Apr 12, 2025
Thanks. There seems to be two issues here.
One is about the workloads, the other is about the emulators. If the issue about the workloads is fixed with the update, let's close this current issue.
For the emulator let's open another issue, as it's more related to your current setup which seems to have multiple versions of java installed.
DevTKSS commentedon Apr 12, 2025
the workloads are still same uno check issue as at the time I opened the issue, so I would not see it as solved isnt it? The pasted bash is just a part I wanted to highlight. you can see the full output in the txt file above it in the same post.
the openjdk can be followed in an other issue but thats heading of issue below this one tells about linux while my system is windows, which is not equal...
DevTKSS commentedon Apr 12, 2025
the workloads most likely also part of vs 2022 ide prompting "uno-check found problems"
I am currently running a "Repair" with vs 2022 installer because I am thinking: When that tells thats compiled with a more recent version and I before set the openjdk
JAVA_HOMEvar to the 24 version, that might had executed it, done that compile which might have not been before and causing this issue there. I can not tell if thats related to the actual workloads, do you know that? if not, I could add that details to the other issue for brevity 👍and the search for workloads... for uno check, are those in sdk-manifest not valid for the check or is it just not searching there? I mean, I trying to understand, why the vs 2022 workloads added ones are not valid for uno-check so they seem to have installed twice?
from vs 2022 ide:

from admin terminal:
DevTKSS commentedon Apr 12, 2025
checked information and sdk and --list-sdks output on my dotnet cmd...
what
but with the afterwards executed repair if we use DOTNET_FORCE that is not doing that recommended update the dotnet cli recomments.
Suggestion would maybe be, since its asking us to "Install or Update" why it isnt updating as its asked for?
--verbose output of uno-check shows that command beeing done before check of workloads but with
--print-rollback. I do not know anything about this argument, but it really seems like thats causing this, because when using a simpledotnet workload updatewithout any more arguments or config and et voila I would tell from the output, its updated those uno-check did not find as needed:that was done in vs code terminal, but I dont think that makes any big difference.
that did not fix maui workload missing, so just tryed by accepting its fix recommendation
for reference, thats the state before the update without any arguments, which added for android before accepting fix:
and after fix, I do now have two maui workloads...
terminal-output-after-fix
would it be possible to remove that duplicate on windows and allow to choose between using a lower .net from rollback and the only update without this? the update cmd beside maui workload (because its not wanting windows maybe?) did already satisfy uno check so I would prefer that from user view.
DevTKSS commentedon Apr 12, 2025
For completeness, NOW on my maschine is only left the Emulator problem as real problem. I am not actively developing to android currently, but was planning to if I collected enough knowledge at some point to finalize my own application.
jeromelaban commentedon Apr 14, 2025
The latest published build (1.30.13) is installing the right 9.0.203 workloads, so this should address the original issue.
For the android emulators, you can skip that part if you don't plan on targeting android.