Problem if using latest prism CI packages
See original GitHub issueI am using the CI feed and 7.0.0.423-ci
packages of Prism
(Core and Forms), and Prism.Plugin.Popups
I am getting this exception:
Unhandled Exception: System.TypeLoadException: Could not resolve type with token 01000015 (from typeref, class/assembly Prism.Navigation.INavigationService, Prism.Forms, Version=7.0.0.336, Culture=neutral, PublicKeyToken=null) occurred
Stack Trace:
at Prism.Plugin.Popups.PopupRegistrationExtensions.RegisterPopupNavigationService (Prism.Ioc.IContainerRegistry containerRegistry) [0x00000] in <c60d52f08263422c97812182b0c9c651>:0 at FlexForce3.Core.App.RegisterTypes (Prism.Ioc.IContainerRegistry Builder) [0x00001] in C:\Users\darrell.tunnell\Source\Repos\flexforce3\src\Shared\FlexForce3.Core\App.xaml.cs:119 at Prism.PrismApplicationBase.Initialize () [0x0002f] in <62e67d4e2a224ac39d77a6cc758b5406>:0 at Prism.PrismApplicationBase.InitializeInternal () [0x00006] in <62e67d4e2a224ac39d77a6cc758b5406>:0 at Prism.PrismApplicationBase…ctor (Prism.IPlatformInitializer initializer) [0x00031] in <62e67d4e2a224ac39d77a6cc758b5406>:0 at Prism.Autofac.PrismApplication.Initialize () [0x00000] in <6fb870dbdc264a6db6d781e8a4c6c3bb>:0 at FlexForce3.Core.App…ctor (Prism.IPlatformInitializer initializer, FlexForce3.Services.Contracts.ILoginService loginService) [0x00000] in C:\Users\darrell.tunnell\Source\Repos\flexforce3\src\Shared\FlexForce3.Core\App.xaml.cs:40 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in /Users/builder/jenkins/workspace/xamarin-android-d15-5/xamarin-android/external/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:661 — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/jenkins/workspace/xamarin-android-d15-5/xamarin-android/external/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:152 at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor (Microsoft.Extensions.DependencyInjection.ServiceLookup.ConstructorCallSite constructorCallSite, Microsoft.Extensions.DependencyInjection.ServiceProvider provider) [0x00065] in <11a24722b687485fb7c0a5da34b5b018>:0 at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2[TArgument,TResult].VisitCallSite (Microsoft.Extensions.DependencyInjection.ServiceLookup.IServiceCallSite callSite, TArgument argument) [0x00095] in <11a24722b687485fb7c0a5da34b5b018>:0 at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitTransient (Microsoft.Extensions.DependencyInjection.ServiceLookup.TransientCallSite transientCallSite, Microsoft.Extensions.DependencyInjection.ServiceProvider provider) [0x00008] in <11a24722b687485fb7c0a5da34b5b018>:0 at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2[TArgument,TResult].VisitCallSite (Microsoft.Extensions.DependencyInjection.ServiceLookup.IServiceCallSite callSite, TArgument argument) [0x000a3] in <11a24722b687485fb7c0a5da34b5b018>:0 at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve (Microsoft.Extensions.DependencyInjection.ServiceLookup.IServiceCallSite callSite, Microsoft.Extensions.DependencyInjection.ServiceProvider provider) [0x00000] in <11a24722b687485fb7c0a5da34b5b018>:0 at Microsoft.Extensions.DependencyInjection.ServiceProvider+<>c__DisplayClass22_0.<RealizeService>b__0 (Microsoft.Extensions.DependencyInjection.ServiceProvider provider) [0x00034] in <11a24722b687485fb7c0a5da34b5b018>:0 at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService (System.Type serviceType) [0x00025] in <11a24722b687485fb7c0a5da34b5b018>:0 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService (System.IServiceProvider provider, System.Type serviceType) [0x00034] in <b382408329ee4512a838fca9f4a05f42>:0 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T] (System.IServiceProvider provider) [0x0000e] in <b382408329ee4512a838fca9f4a05f42>:0 at FlexForce3.Droid.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x000a8] in C:\Users\darrell.tunnell\Source\Repos\flexforce3\src\Native\FlexForce3.Droid\MainActivity.cs:85
I assume there has been some breaking change in the latest CI packages witn INavigationService
since 7.0.0.336,
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (6 by maintainers)
Top GitHub Comments
This has now been updated to work with the Prism 7.1 preview on NuGet
Are you open to a PR that bumps these dependencies?