Bug 42586 - Xamarin.WatchOS.dll does not contain the Point/Rectangle types from System.Drawing
Summary: Xamarin.WatchOS.dll does not contain the Point/Rectangle types from System.Dr...
Status: RESOLVED FEATURE
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.WatchOS.dll ()
Version: XI 9.99 (iOS 10 previews)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-07-15 09:19 UTC by Alan McGovern
Modified: 2016-07-25 18:46 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FEATURE

Description Alan McGovern 2016-07-15 09:19:24 UTC
Xamarin.iOS.dll, monotouch.dll and Xamarin.TVOS.dll all contain the fundamental Point/Size/Rectangle types from the System.Drawing namespace. Xamarin.WatchOS.dll does not.

I'm filing this just because it's inconsistent. This is tangentially related to bug #42577 though.
Comment 1 Alan McGovern 2016-07-15 09:22:59 UTC
The proper fix, as suggested by marek safar, is to reference the System.Drawing.Primitives nuget. This let my project compile.
Comment 2 Sebastien Pouliot 2016-07-25 18:46:41 UTC
This was by design and no one (on iOS/Mac call) could give any argument to introduce it back into the platform assembly.