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

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

Open
danielkraut opened this issue Dec 4, 2018 · 0 comments
Open

Comments

@danielkraut
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant