Forum Xamarin Xamarin.iOS

Compile failed when using Shared project in Xamarin.IOS

Hi, All.

I am creating the app that use Restsharp component to pull down from Web api.
I created Shared project to use in Xamarin.Android app so all code for connecting to Web api coded in Shared project.
I added reference of Shared project to Xamarin.IOS project but when I compiled the project, it failed with below error.

/IOS/MTOUCH: Error MT2002: Failed to resolve "System.Drawing.Bitmap" reference from "System.Drawing, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" (MT2002)

I am not sure why it happens.
Not use any code of Shared project just added reference and imported it to class.
Please let me know if anyone knows solution.


Sign In or Register to comment.