aktiviert Ich versuche App Größe zu reduzieren und aktiviert „Link Alle Baugruppen“, aber meine app stürzt mit Fehler folgendeApp stürzt ab, wenn Link-Baugruppen Alle
MvvmCross.Platform.Exceptions.MvxException: Fehler beim Bau und Ansichtsmodell für Typ Japam.Core.ViewModels.MantraasViewModel von Locator MvxDefaultViewModelLocator initialisieren - prüfen Innerexception für weitere Informationen
ich versuchte
--linkskip=mvvmcross.platform.ios
--linkskip=mvvmcross.core
--linkskip=mvvmcross.platform
aber kein Glück, beibehalten Attribut auf Assembly-Ebene von meinem Kern-PCL-Projekt. auch noch ein paar mehr Methoden in LinkerPleaseIncludefile
public void Include(MvvmCross.Platform.IoC.MvxPropertyInjection injection)
{
injection = new MvvmCross.Platform.IoC.MvxPropertyInjection();
}
public void Include(MvxDefaultViewModelLocator locator)
{
locator = new MvxDefaultViewModelLocator();
}
aber nichts, könnte jemand mir helfen herauszufinden, was
MvvmCross.Platform.Exceptions.MvxException fehlt: Failed Zum Erstellen und Initialisieren von ViewModel für den Typ Japam.Core.ViewModels.MantraasViewModel von Locator MvxDefaultViewModelLocator - überprüfen Sie InnerException für weitere Informationen ---> MvvmCross.Platform.Exceptions.MvxException: Erstellen Problem Ansichtsmodell vom Typ MantraasViewModel ---> MvvmCross.Platform.Exceptions.MvxIoCResolveException: Fehler beim Konstrukt MantraasViewModel ---> System.Reflection.TargetInvocationException: Ausnahme hat wurde durch das Ziel eines Aufrufs geworfen. ---> MvvmCross.Platform.Exceptions.MvxIoCResolveException: Fehler beim Vorsatz Parameter für Parameter sqliteConnectionFactory vom Typ IMvxSqliteConnectionFactory wenn Japam.Core.Services.DataServices.MantraService bei MvvmCross.Platform.IoC.MvxSimpleIoCContainer.GetIoCParameterValues Erzeugen (System.Type Typ, System.Reflection.ConstructorInfo firstConstructor) [0x00036] in D: \ git \ MvvmCross \ MvvmCross \ Platform \ Platform \ IoC \
Was genau macht das 'sagen InnerException'? – SushiHangover
InnerException wird nicht angezeigt, es zeigt nur, dass – Krishna
Wenn Sie continue auswählen und wenn Ihre App die Verbindung zum Debugger trennt, sollten Sie die gesamte Ausnahme im Ausgabefenster sehen können. Was die innere Ausnahme beinhalten wird. – Plac3Hold3r