You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Hi All,
I blundered and can't quite figure out which nuget update raised the issue. But, currently I can't build my XF to Android (aot) because I get an AOT error:
So it seems like we're supposed to migrate away from System.Drawing dependencies and choose from:
-SkiaSharp
-ImageSharp
-Microsoft.MauiGraphics
So... what's the recommended path for those of us that will be on XF while Maui matures a little? I assume SkiaSharp, but when I try and exclude System.Drawing, I lose the basic Color type. Is there another way to reference a Color type outside of System.Drawing? Am I even required to do this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi All,
I blundered and can't quite figure out which nuget update raised the issue. But, currently I can't build my XF to Android (aot) because I get an AOT error:
When I started poking around I found this article:
https://docs.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only
So it seems like we're supposed to migrate away from System.Drawing dependencies and choose from:
-SkiaSharp
-ImageSharp
-Microsoft.MauiGraphics
So... what's the recommended path for those of us that will be on XF while Maui matures a little? I assume SkiaSharp, but when I try and exclude System.Drawing, I lose the basic Color type. Is there another way to reference a Color type outside of System.Drawing? Am I even required to do this?
Any ideas or help appreciated.
Dave G
Beta Was this translation helpful? Give feedback.
All reactions