error MT2002: Failed to resolve assembly: 'System.Drawing'

Getting error MT2002: Failed to resolve assembly: 'System.Drawing'

Answers

  • ColeXColeX Member, Xamarin Team Xamurai
    edited September 17

    Check Available Assemblies on Xamarin.iOS , scroll down to the end of page , you can see

    System.Drawing is not supported in the Unified API for the Xamarin.Mac, .NET 4.5, or Mobile frameworks. System.Drawing support can be added to iOS and macOS using the sysdrawing-coregraphics library.

    Remove System.Drawing and reference sysdrawing-coregraphics instead.

  • takthetanktakthetank Member ✭✭

    I'm getting the same error and I'm not referencing anywhere System.Drawing. Is it possible it is referenced in a Xamarin.Forms update?

  • taitotaito USMember ✭✭

    Install the NuGetPackage System.Drawing

Sign In or Register to comment.