Comments (5)
Update to 9.2.0-beta.6 should work there
from mvvmcross.
Thank you for the quick fix. Do you have an ETA for 9.2.0 full release?
from mvvmcross.
Not really, does it matter much to you whether the version has -beta at the end or not?
from mvvmcross.
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.
@EtienneDuport create a new issue please.
from mvvmcross.
Related Issues (20)
- MvvmCross.Plugin.Visibility not working in .NET 7.0 Android Project HOT 8
- It looks like mvx:Bi.nd in combination with InvertedVisibility is broken in 9.2 HOT 3
- Load order change results in not being able to use constructor injection for IMvxNativeVisibility in ValueCombiners
- MAUI App that uses existing MVVMCross ViewModels - Fails with mismatch in Dependencies for Android as Target HOT 7
- MvxRecyclerView crashes on .NET 8 HOT 3
- .NET 8 Android Failed to resolve type MvvmCross.Binding.BindingContext.IMvxBindingContextStack when calling MvxActivity.SetContentView HOT 8
- MvxModalPresentationControllerDelegate closes a ViewController when the ViewController is not actually dismissed by a user HOT 2
- Namespace "MvvmCross.Platforms.Console.Core" is missing in Nuget Package 9.2.0-beta.5 HOT 1
- Using Tibet binding on a iOS UILabel AttributedText property gives weird results in comparison to Fluent binding HOT 1
- MvxColorValueConverter not working on Android in 9.2.0 HOT 9
- mvvmcross is missing NuGet package README file HOT 1
- MvvmCross 9.2.0 beta has issues with .net 8.0.2 HOT 1
- [Bug]: MvxIosViewPresenter.cs should use .ConfigureAwait(true) _not false_ for virtual methods whose overrides might switch off the main thread HOT 9
- [Bug]: Clicked event not getting triggered since .NET 8 in combination with MvvmCross 9.2.0 HOT 2
- [Bug]: Failed to register an instance of MvxValueConverter with no default constructor HOT 1
- MvvmCross.Platforms.Ios namespace is missing in 9.2.0 & 9.2.0-beta HOT 2
- [CI]: SonarCloud does not report status on Pull Requests or detect branches
- [Bug]: [Android] `NavigateToFirstViewModel()` not called on Android when `SplashScreenActivity` is derived from `MvxActivity` HOT 20
- [Bug]: [Android] Execution never returns from `base.OnResume()` when `SplashScreenActivity` is derived from `MvxStartActivity` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mvvmcross.