System.MissingMethodException: Method not found: 'Splat.IMutableDependencyResolver Splat.Locator.get_CurrentMutable()'
NeverMorewd opened this issue · 5 comments
NeverMorewd commented
Describe the bug
avaloniaui version:11.3.5
reactiveui version:21.0.1
CoreCLR Version: 8.0.1825.31117
.NET Version: 8.0.18
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException: Method not found: 'Splat.IMutableDependencyResolver Splat.Locator.get_CurrentMutable()'.
at Avalonia.ReactiveUI.AppBuilderExtensions.<>c.<UseReactiveUI>b__0_1()
at Splat.InternalLocator.RegisterResolverCallbackChanged(Action callback) in c:\temp\releaser\splat\src\Splat.Core\ServiceLocation\InternalLocator.cs:line 106
at Splat.AppLocator.RegisterResolverCallbackChanged(Action callback) in c:\temp\releaser\splat\src\Splat.Core\ServiceLocation\AppLocator.cs:line 73
at Splat.Locator.RegisterResolverCallbackChanged(Action callback) in c:\temp\releaser\splat\src\Splat\ServiceLocation\Locator.cs:line 64
at Avalonia.ReactiveUI.AppBuilderExtensions.<>c.<UseReactiveUI>b__0_0(AppBuilder _)
at Avalonia.AppBuilder.SetupUnsafe()
at Avalonia.AppBuilder.Setup()
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder)
at IndeedInspector.Program.Main(String[] args) in C:\Users\wangd\source\repos\IndeedInspector\IndeedInspector\IndeedInspector\Program.cs:line 13
To Reproduce
- Create a mvvm avaloniaui project.
- Install reactiveui nuget with version 21.0.1
Expected behavior
No response
Avalonia version
11.3.5
OS
Windows
Additional context
No response
rabbitism commented
Is it working well with earlier versions?
Skizo145 commented
+1
ReactiveUI v20.4.1 works though.
glennawatson commented
I think @ChrisPulman was teaching out to finalise us having rxui Avalonia.
We have a draft repo ready to go. This is caused by changes in Splat
EnvyKong commented
May I ask when the issue is going to be resolved? I have encountered the same problem. Thank you very much.
laolarou726 commented
any update on this one?