Reputation: 1469
Getting error MT2002: Failed to resolve assembly: 'System.Drawing', Version 1.0.5000.0, Culture=nuetral, PublicKeyToken-b03f5f7f11d50a3a when trying to build my ios Project in Xamarin Studio.
This just happened after updating to the latest version of Stable release of Xamarin Studio 5.5.4.
Upvotes: 2
Views: 2977
Reputation: 43543
Stable release of Xamarin Studio 5.5.4.
That cannot be related to the version of Xamarin Studio. This is even unlikely to be related to the Xamarin.iOS version you're using.
Such MT2002
errors happens when your project is using a binary assembly (*.dll
) that has been compiled against the desktop .NET framework (or Mono). It can contains references to methods, types or assemblies that are not available for the platform you're targeting.
Your assemblies must be compiled against either:
the mobile profile (what's shipping with Xamarin.iOS, Xamarin.Android and soon/alpha Xamarin.Mac); or
a PCL subset that is compatible with XI/XA/XM.
If you have something else then it needs to be re-compiled against the above.
Upvotes: 3