Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Referencing System.Drawing.dll in Xamarin.iOS requires Xamarin.Mac #27

@danielkraut

Description

@danielkraut

Hi,

I've successfully downloaded the project, mono and corefx and built it. I've created a simple Xamarin.iOS app, added 1 package which uses System.Drawing and referenced the System.Drawing.dll in folder bin/ios .
During compilation of my project i get:

MTOUCH: warning MT0136: Cannot find the assembly 'Xamarin.Mac, Version=0.0.0.0, ...'
MTOUCH: error MT2001: Could not link assemblies. Reason: Error while processing references of 'test-app...'

Isn't it weird that it looks for Xamarin.Mac when compiling for Xamarin.iOS? Referencing the Xamarin.Mac.dll directly from system library folder gives new error, saying that symbols are defined in both Xamarin.iOS and Xamarin.Mac.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions