Base solution for your next web application
Open Closed

XAMARIN Automapper Issue on Startup #9713


User avatar
0
chrskrs created

Prerequisites

**Product version: 9.2.0 Product type: MVC Framework type: .Net Core **

When I run the Xamarin Droid App I get the following error upon startup :

System.TypeLoadException Message=Could not resolve type with token 0100005b from typeref (expected class 'AutoMapper.IMapperBase' in assembly 'AutoMapper, Version=10.0.0.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005')

The Device monitor has the following messages containing "PublicKeyToken=be96cd2c38ef1005"

10-08 07:38:19.357: D/Mono(5299): Loading reference 1 of Abp.AutoMapper.dll asmctx DEFAULT, looking for AutoMapper, Version=10.0.0.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005

I have tried upgrading the Automapper (by Jimmy Bogard) to version 10.0.0 but this caused the error dialog of Droid to pop up with message "An error occured. Do You want to try again?"

I see that there is an issue logged for this error but the link :

https://github.com/aspnetzero/aspnet-zero-core/issues/3538.

gives a 404 error.

As the mobile is the major component part of the project I am really stuck at this point.

Thank you - Chris


1 Answer(s)