You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded to 7.0.0.336-pre and the project now throws the following exception on startup:
DryIoc.ContainerException: Unable to select single public constructor from implementation type Xamarin.Forms.NavigationPage:
Void .ctor(),
Void .ctor(Xamarin.Forms.Page)
at DryIoc.Throw.It(Int32 error, Object arg0, Object arg1, Object arg2, Object arg3)
at DryIoc.ReflectionFactory.ThrowIfInvalidRegistration(Type serviceType, Object serviceKey, Boolean isStaticallyChecked, Rules containerRules)
at DryIoc.Container.Register(Factory factory, Type serviceType, Object serviceKey, IfAlreadyRegister
This behavior appears to be related to NavigationPage only because if I edit App.xml.cs as follows:
` public App(IPlatformInitializer initializer) : base(initializer) { }
Is this a bug or am I missing something when I upgrade to 7.0.0.336-pre?
Package info
Platform: UWP (throws DryIoc.ContainerException: Unable to select single public constructor from implementation type ),
Android (throws DryIoc.ContainerException: ) and
iOS (throws DryIoc.ContainerException: Unable to select single public constructor from implementation type )
Prism version:7.0.0.336-pre
Xamarin version (if applicable): Xamarin.Forms 2.5.0.121934
Windows 10 SDK version (if applicable): 16299
Other version info: DryIoc 2.12.5
Repro steps
Create new project using prism template pack version 2.0.7 (latest)
Update nugets ()
Update Prism.DryIoc.Forms to 7.0.0.336-pre
Refactor to import IPlatformInitializer and implement RegisterTypes(IContainerRegistry containerRegistry)
Expected behavior: App runs, NavigationPage resolved.
Actual behavior: Exception on startup DryIoc.ContainerException: Unable to select single public constructor from implementation type
The text was updated successfully, but these errors were encountered:
I upgraded to 7.0.0.336-pre and the project now throws the following exception on startup:
DryIoc.ContainerException: Unable to select single public constructor from implementation type Xamarin.Forms.NavigationPage:
Void .ctor(),
Void .ctor(Xamarin.Forms.Page)
at DryIoc.Throw.It(Int32 error, Object arg0, Object arg1, Object arg2, Object arg3)
at DryIoc.ReflectionFactory.ThrowIfInvalidRegistration(Type serviceType, Object serviceKey, Boolean isStaticallyChecked, Rules containerRules)
at DryIoc.Container.Register(Factory factory, Type serviceType, Object serviceKey, IfAlreadyRegister
This behavior appears to be related to NavigationPage only because if I edit App.xml.cs as follows:
` public App(IPlatformInitializer initializer) : base(initializer) { }
This will load MainPage without issues.
Is this a bug or am I missing something when I upgrade to 7.0.0.336-pre?
Package info
Android (throws DryIoc.ContainerException: ) and
iOS (throws DryIoc.ContainerException: Unable to select single public constructor from implementation type )
Repro steps
Run.
Expected behavior: App runs, NavigationPage resolved.
Actual behavior: Exception on startup DryIoc.ContainerException: Unable to select single public constructor from implementation type
The text was updated successfully, but these errors were encountered: