Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Drawing.Color isn't available for iOS #1596

Closed
2 of 8 tasks
agneszitte opened this issue Sep 24, 2019 · 3 comments
Closed
2 of 8 tasks

System.Drawing.Color isn't available for iOS #1596

agneszitte opened this issue Sep 24, 2019 · 3 comments
Labels
kind/enhancement New feature or request platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform project/shapes-brushes 🔶 Categorizes an issue or PR as relevant to shapes and brushes
Milestone

Comments

@agneszitte
Copy link
Contributor

agneszitte commented Sep 24, 2019

Current behavior

System.Drawing.Color isn't available for iOS
image

Expected behavior

System.Drawing.Color should be available for iOS like it's already available for UWP/Android/Wasm.

Environment

Package Version(s): Uno.UI 1.45.0

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • Windows
  • Build tasks

Visual Studio

  • 2017 (version: 15.9.8)
  • 2019 (version: )
  • for Mac (version: )
@agneszitte agneszitte added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Sep 24, 2019
@jeromelaban
Copy link
Member

System.Drawing.Color should not be used anywhere in the Uno API set. Aside from that, this is a Xamarin-specific issue.

@ghuntley ghuntley added platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform kind/enhancement New feature or request and removed kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Sep 24, 2019
@Cheesebaron
Copy link

System.Drawing.Color is available if you add OpenTK as a Framework Reference.

 <ItemGroup Condition=" $(TargetFramework.StartsWith('xamarin.ios')) ">
    <Reference Include="OpenTK-1.0" />
</ItemGroup>

If Uno,UI or some other library is using System.Drawing.Color, you should probably consider adding this dependency.

@davidjohnoliver
Copy link
Contributor

Underlying Xamarin issue: xamarin/xamarin-macios#5273

I think we can close this as it's not Uno-related, it doesn't affect the Uno/WinUI API set, and there's not much we can do about it.

@agneszitte agneszitte added the project/shapes-brushes 🔶 Categorizes an issue or PR as relevant to shapes and brushes label Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform project/shapes-brushes 🔶 Categorizes an issue or PR as relevant to shapes and brushes
Projects
None yet
Development

No branches or pull requests

6 participants