Prism: DryIoc.dll Issue when updating to version 3.0.1

Created on 11 Jul 2018  路  5Comments  路  Source: PrismLibrary/Prism

Hi,

I've updated to version 3.0.1 from version 2.12.6 and it gives me the following, on both Android and iOS ( using .Net standard )

System.MissingMethodException void DryIoc.Registrator.Register(DryIoc.IRegistrator,DryIoc.IReuse,DryIoc.Made,DryIoc.Setup,DryIoc.IfAlreadyRegistered,object)

Working with
Prism Prism.Core - 7.0.0.396
Prism.DryIoc.Forms - 7.0.0.396
Prism.Forms - 7.0.0.396
Xamarin Forms - 3.1.0.583944

Downgrading to v2.12.6 works

Please advise if I'm missing something
Thanks in advance
Kevin

Most helpful comment

This issue is caused by your changing major versions. For now you'll need to roll back to 2.X, we'll be updating to DryIoc 3 soon

All 5 comments

Same error here. I have managed to have more details:

Severity Code Description Project File Line Suppression State
Error The "LinkAssemblies" task failed unexpectedly.
Mono.Linker.MarkException: Error processing method: 'System.Void Prism.DryIoc.PrismApplication::RegisterRequiredTypes(Prism.Ioc.IContainerRegistry)' in assembly: 'Prism.DryIoc.Forms.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void DryIoc.Registrator::Register(DryIoc.IRegistrator,DryIoc.IReuse,DryIoc.Made,DryIoc.Setup,DryIoc.IfAlreadyRegistered,System.Object)
at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
at Mono.Linker.Steps.MarkStep.ProcessQueue()
--- End of inner exception stack trace ---
at Mono.Linker.Steps.MarkStep.ProcessQueue()
at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue()
at Mono.Linker.Steps.MarkStep.Process()
at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() AllyNations.Android C:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuildXamarinAndroidXamarin.Android.Common.targets 1812

Cheers. From VS mac i wasn't able to view the stack trace as it's empty. Only seeing the exception

screen shot 2018-07-11 at 12 53 03

This issue is caused by your changing major versions. For now you'll need to roll back to 2.X, we'll be updating to DryIoc 3 soon

I guess Prism supports DryIoc 3 now but I'm suddenly having this issue on shared project using Prism 7.1.0.172-pre, DryIoc 3.0.2 and XF 3.2.0.729530-pre2. Any help anyone? @dansiegel @dadhi

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

topfunet picture topfunet  路  5Comments

ylatuya picture ylatuya  路  6Comments

brianlagunas picture brianlagunas  路  4Comments

znakeeye picture znakeeye  路  7Comments

kant2002 picture kant2002  路  3Comments