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
So, I installed the workloads using the uno-check tool and when I run dotnet workload list I see this error
Unhandled exception: System.Collections.Generic.KeyNotFoundException: The given key 'Microsoft.Android.Sdk' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.<>c__DisplayClass30_0.<GetUpdatedWorkloads>b__2(WorkloadPackId p) at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate) at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.GetUpdatedWorkloads(WorkloadResolver advertisingManifestResolver, IEnumerable`1 installedWorkloads)+MoveNext() at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source) at Microsoft.DotNet.Workloads.Workload.List.WorkloadListCommand.Execute() at Microsoft.DotNet.Cli.WorkloadListCommandParser.<>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.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()--- End of stack trace from previous location --- at System.CommandLine.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()--- End of stack trace from previous location --- at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()--- End of stack trace from previous location --- at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
I uninstalled the android, ios, macos, and maccatalyst workloads and installed them again using the dotnet workload install for each one. After that, the error disappears.
Then I ran the uno-check again and complains that I don't have these workloads installed, if I let the tool install the workload the error reappears.
The text was updated successfully, but these errors were encountered:
So, I installed the workloads using the
uno-check
tool and when I rundotnet workload list
I see this errorI uninstalled the
android, ios, macos, and maccatalyst
workloads and installed them again using thedotnet workload install
for each one. After that, the error disappears.Then I ran the
uno-check
again and complains that I don't have these workloads installed, if I let the tool install the workload the error reappears.The text was updated successfully, but these errors were encountered: