Code Monkey home page Code Monkey logo

Comments (5)

Cheesebaron avatar Cheesebaron commented on June 9, 2024 1

Update to 9.2.0-beta.6 should work there

from mvvmcross.

greg73 avatar greg73 commented on June 9, 2024

Thank you for the quick fix. Do you have an ETA for 9.2.0 full release?

from mvvmcross.

Cheesebaron avatar Cheesebaron commented on June 9, 2024

Not really, does it matter much to you whether the version has -beta at the end or not?

from mvvmcross.

EtienneDuport avatar EtienneDuport commented on June 9, 2024

Hello @Cheesebaron ! I was working with 9.1.1 but had an issue with Visibility bindings not working, so I read this thread, thought it could fix my problem to update my nugget packages but now my app crashes at launch:

[0:] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeLoadException: VTable setup of type MvvmCross.Plugin.File.Platforms.Android.Plugin failed
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at System.RuntimeType.CreateInstanceMono(Boolean nonPublic, Boolean wrapExceptions)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at MvvmCross.Plugin.MvxPluginManager.EnsurePluginLoaded(Type type, Boolean forceLoad) in /_/MvvmCross/Plugin/MvxPluginManager.cs:line 38
at MvvmCross.Core.MvxSetup.LoadPlugins(IMvxPluginManager pluginManager) in /_/MvvmCross/Core/MvxSetup.cs:line 454
...

The call to LoadPlugins() comes from my override in Setup.cs:

public override void LoadPlugins(IMvxPluginManager pluginManager)
{
base.LoadPlugins(pluginManager);
pluginManager.EnsurePluginLoaded<MvvmCross.Plugin.Json.Plugin>();
}

BTW, that would be great to have an "Upgrading from 8 to 9" documentation, if important changes took place. I'm climbing from 3 to 9 so it's quite an endeavour!

EDIT: fixed the Visibility issue with adding this line in LoadPlugins()

pluginManager.EnsurePluginLoaded<MvvmCross.Plugin.Visibility.Platforms.Android.Plugin>();

from mvvmcross.

Cheesebaron avatar Cheesebaron commented on June 9, 2024

@EtienneDuport create a new issue please.

from mvvmcross.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.