question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem if using latest prism CI packages

See original GitHub issue

I 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.CallSiteVisitor2[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.CallSiteVisitor2[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:closed
  • Created 6 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dansiegelcommented, Apr 2, 2018

This has now been updated to work with the Prism 7.1 preview on NuGet

1reaction
dazinatorcommented, Feb 21, 2018

Are you open to a PR that bumps these dependencies?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stoplight Prism- Running on the devops pipeline using cli · ...
I am working on running Prism using cli on the Devops pipeline for unit testing. Problem: Using Cli I am able to start...
Read more >
Error message: 'exdir' does not exist when using prism ...
This code uses two functions in the prism package: 1) get_prism_dailys, and 2) prism_set_dl_dir. I have already read this page about error of...
Read more >
Prism Updates
Latest Prism Releases. This release fixes multiple issues present in Prism 10.0. 1. This release fixes multiple issues present in Prism 10.0.
Read more >
Prism 9: Taking your analyses and graphs to higher ...
Explore larger data sets using a standard structure, and perform new and improved analyses with the following improvements: Increased data limits - enter...
Read more >
How to Use Prismatic's CLI Tool
Installing the prism CLI tool allows Prismatic users access to our API via the command line. You can also run CLI commands and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found