Issues loading DTO assembly when booting Xamarin forms app

JR7769 1 Reputation point
2021-03-28T14:57:50.637+00:00

I am getting the following error when running my xamarin forms app. I have cleaned, rebuilt, deleted obj/bin folders and restarted visual studio without any success. I have also tried removing the apps from the android device without any success.

System.TypeLoadException: 'Could not load type of field 'MoltenCore.Mobile.UI.ViewModels.CommentsViewModel:<Data>k__BackingField' (1) due to: Could not resolve type with token 010000e8 from typeref (expected class 'MoltenCore.Data.DTO.EntityComment' in assembly 'MoltenCore.Data.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:MoltenCore.Data.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type:MoltenCore.Data.DTO.EntityComment member:(null)'

this is a perfectly valid assembly and had been working fine for months until today.

Any ideas?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
{count} votes