AnsweredAssumed Answered

Trouble loading assembly Esri.ArcGISRuntime.Xamarin.Forms in .NET Core 3.1 test project

Question asked by frhone_Latitudegeo on Apr 2, 2020
Latest reply on Apr 7, 2020 by frhone_Latitudegeo

I'm getting this exception at run-time when trying to run unit tests referencing the ArcGIS Runtime 100.7 in a .NET Core Version 3.1 test project:  

 

System.BadImageFormatException: Could not load file or assembly 'Esri.ArcGISRuntime.Xamarin.Forms, Version=100.7.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86'. Reference assemblies should not be loaded for execution.  They can only be loaded in the Reflection-only loader context. (0x80131058) ---> System.BadImageFormatException: Cannot load a reference assembly for execution.  
Has anyone else experienced this? Any ideas how to fix/work around it? I and a coworker are both running into this on separate computers.

Outcomes