.NET MAUI konnte aufgrund von: Ungültige Generika -Instanziierungsbaugruppe keine übergeordnete Klasse einrichtenC#

Ein Treffpunkt für C#-Programmierer
Anonymous
 .NET MAUI konnte aufgrund von: Ungültige Generika -Instanziierungsbaugruppe keine übergeordnete Klasse einrichten

Post by Anonymous »

My .NET MAUI -App stürzt in dieser Zeile zurück. Return Base.finiEDSHLAUNCHING (App, Optionen); . Lesen des Beitrags zu diesem Problem `CommunityToolkit-Maui-Craith-Crash-at-Startup-System-Typ-Typ-Typexceptionxzept

Code: Select all

Failed to update the advertising manifest microsoft.net.workload.mono.toolchain.current: Response status code does not indicate success: 401 (Unauthorized)..
Failed to update the advertising manifest microsoft.net.sdk.maccatalyst: Response status code does not indicate success: 401 (Unauthorized)..
Downloading Microsoft.Maui.Sdk.Msi.x64 (8.0.3)
Downloading Microsoft.Maui.Sdk.Msi.x64 (7.0.101)
Workload installation failed. Rolling back installed packs...
Workload installation failed: One or more errors occurred. (Response status code does not indicate success: 401 (Unauthorized).)
< /code>
Ausnahme < /p>
$exception  {System.TypeLoadException: Could not set up parent class, due to: Invalid generic instantiation assembly:/Users/..../Bundle/Application/4432375E-97CC-4E28-9E3A-7E64BA3C6BEF/GuidelinesApp.app/Microsoft.Maui.dll type:ViewHandler`2 member:(null)
at CommunityToolkit.Maui.AppBuilderExtensions.c.b__0_0(IMauiHandlersCollection h)
at Microsoft.Maui.Hosting.HandlerMauiAppBuilderExtensions.HandlerRegistration.AddRegistration(IMauiHandlersCollection builder)
at Microsoft.Maui.Hosting.Internal.MauiHandlersFactory.CreateHandlerCollection(IEnumerable`1 registrationActions)
at Microsoft.Maui.Hosting.Internal.MauiHandlersFactory..ctor(IEnumerable`1 registrationActions)
at Microsoft.Maui.Hosting.HandlerMauiAppBuilderExtensions.c.b__1_0(IServiceProvider sp)

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post