I'm getting this error when I'm trying to archive my Xamarin android and iOS project

57 views Asked by At

Could not resolve this reference. Could not locate the assembly "mscorlib". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

I tried cleaning build, restoring project , updating NuGet packages but nothing is working

1

There are 1 answers

0
Engineer On

This things worked for me:

Android : Set AndroidHttpClientHandlerType to Xamarin.Android.Net.AndroidClientHandler

iOS : In iOS i have deselected "Do not reference mscorlib.dll"

In Project properties settings.