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
Hi guys, thanks heap for the library.
I run into an issue when building with .NET native
Preproduce steps:
Create a blank UWP app
Add Nuget reference to latest IronSoftware.System.Drawing, (it was 2024.3.4 for me)
Create a line of code to have a reference to the library, example: var bitmap = new AnyBitmap(new byte[3])
In UWP app properties, ensure to have .Net Native build tick:
App fails to build with these warnings & errors:
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0010: Could not find assembly 'SkiaSharp, Version=2.88.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' referenced by 'IronSoftware.Drawing.Common'.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0010: Could not find assembly 'Microsoft.Maui.Graphics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' referenced by 'IronSoftware.Drawing.Common'.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0010: Could not find assembly 'SkiaSharp.Extended.Svg, Version=1.60.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' referenced by 'IronSoftware.Drawing.Common'.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0010: Could not find assembly 'SkiaSharp, Version=2.88.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' referenced by 'IronSoftware.Drawing.Common'.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0010: Could not find assembly 'Microsoft.Maui.Graphics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' referenced by 'IronSoftware.Drawing.Common'.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0010: Could not find assembly 'SkiaSharp.Extended.Svg, Version=1.60.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' referenced by 'IronSoftware.Drawing.Common'.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0010: Could not find assembly 'SkiaSharp, Version=2.88.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' referenced by 'IronSoftware.Drawing.Common'.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0010: Could not find assembly 'Microsoft.Maui.Graphics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' referenced by 'IronSoftware.Drawing.Common'.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0010: Could not find assembly 'SkiaSharp.Extended.Svg, Version=1.60.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' referenced by 'IronSoftware.Drawing.Common'.
1> Processing application code
C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKImage' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'AnyBitmap.op_Implicit(SKImage)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKBitmap' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'AnyBitmap.op_Implicit(SKBitmap)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'Microsoft.Maui.Graphics.Platform.PlatformImage' from assembly 'Microsoft.Maui.Graphics' was not included in compilation, but was referenced in method 'AnyBitmap.op_Implicit(PlatformImage)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKColor' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'Color.op_Implicit(SKColor)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'Microsoft.Maui.Graphics.Color' from assembly 'Microsoft.Maui.Graphics' was not included in compilation, but was referenced in method 'Color.op_Implicit(Color)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKFont' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'Font.op_Implicit(SKFont)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'Microsoft.Maui.Graphics.Font' from assembly 'Microsoft.Maui.Graphics' was not included in compilation, but was referenced in method 'Font.op_Implicit(Font)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKRect' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'CropRectangle.op_Implicit(SKRect)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKRectI' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'CropRectangle.op_Implicit(SKRectI)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'Microsoft.Maui.Graphics.Rect' from assembly 'Microsoft.Maui.Graphics' was not included in compilation, but was referenced in method 'CropRectangle.op_Implicit(Rect)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'Microsoft.Maui.Graphics.RectF' from assembly 'Microsoft.Maui.Graphics' was not included in compilation, but was referenced in method 'CropRectangle.op_Implicit(RectF)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'Microsoft.Maui.Graphics.Point' from assembly 'Microsoft.Maui.Graphics' was not included in compilation, but was referenced in method 'Point.op_Implicit(Point)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKPointI' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'Point.op_Implicit(SKPointI)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'Microsoft.Maui.Graphics.PointF' from assembly 'Microsoft.Maui.Graphics' was not included in compilation, but was referenced in method 'PointF.op_Implicit(PointF)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKPoint' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'PointF.op_Implicit(SKPoint)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKSizeI' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'Size.op_Implicit(SKSizeI)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'Microsoft.Maui.Graphics.Size' from assembly 'Microsoft.Maui.Graphics' was not included in compilation, but was referenced in method 'Size.op_Implicit(Size)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKSize' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'SizeF.op_Implicit(SKSize)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'Microsoft.Maui.Graphics.SizeF' from assembly 'Microsoft.Maui.Graphics' was not included in compilation, but was referenced in method 'SizeF.op_Implicit(SizeF)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'AnyBitmap.op_Implicit(SKImage)' will always throw an exception due to the missing method 'SKImage.Encode(SKEncodedImageFormat, int)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'AnyBitmap.op_Implicit(AnyBitmap)' will always throw an exception due to the missing method 'SKBitmap.Decode(byte[])' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'AnyBitmap.op_Implicit(SKBitmap)' will always throw an exception due to the missing method 'SKBitmap.Encode(SKEncodedImageFormat, int)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'AnyBitmap.op_Implicit(AnyBitmap)' will always throw an exception due to the missing method 'SKBitmap.Decode(byte[])' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'AnyBitmap.op_Implicit(PlatformImage)' will always throw an exception due to the missing method 'PlatformImage.Save(Stream, ImageFormat, float)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'AnyBitmap.op_Implicit(AnyBitmap)' will always throw an exception due to the missing method 'PlatformImage.FromStream(Stream, ImageFormat)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'AnyBitmap.LoadSVGImage(string)' will always throw an exception due to the missing method 'SKBitmap.Encode(SKEncodedImageFormat, int)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.Extended.Svg.SKSvg' from assembly 'SkiaSharp.Extended.Svg' was not included in compilation, but was referenced in method 'AnyBitmap.DecodeSVG(string)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKCanvas' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'AnyBitmap.DecodeSVG(string)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'AnyBitmap.DecodeSVG(string)' will always throw an exception due to the missing method 'SKSvg..ctor()' in assembly 'SkiaSharp.Extended.Svg'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'AnyBitmap.OpenTiffToSKImage(AnyBitmap)' will always throw an exception due to the missing method 'SKImage.FromBitmap(SKBitmap)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKImageInfo' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'AnyBitmap.OpenTiffToSKBitmap(AnyBitmap)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'AnyBitmap.OpenTiffToSKBitmap(AnyBitmap)' will always throw an exception due to the missing method 'SKBitmap..ctor()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Color.op_Implicit(SKColor)' will always throw an exception due to the missing method 'SKColor.get_Alpha()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Color.op_Implicit(Color)' will always throw an exception due to the missing method 'SKColor..ctor(byte, byte, byte, byte)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Color.op_Implicit(Color)' will always throw an exception due to the missing method 'Color.ToRgba(byte, byte, byte, byte)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Color.op_Implicit(Color)' will always throw an exception due to the missing method 'Color.FromRgba(byte, byte, byte, byte)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Font.op_Implicit(SKFont)' will always throw an exception due to the missing method 'SKFont.get_Typeface()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'SkiaSharp.SKFontStyle' from assembly 'SkiaSharp' was not included in compilation, but was referenced in method 'Font.op_Implicit(Font)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Font.op_Implicit(Font)' will always throw an exception due to the missing method 'SKFontStyle.get_Bold()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0005: Type 'Microsoft.Maui.Graphics.FontStyleType' from assembly 'Microsoft.Maui.Graphics' was not included in compilation, but was referenced in method 'Font.op_Implicit(Font)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Font.op_Implicit(Font)' will always throw an exception due to the missing method 'Font.get_Weight()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Font.op_Implicit(Font)' will always throw an exception due to the missing method 'Font..ctor(string, int, FontStyleType)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'CropRectangle.op_Implicit(SKRect)' will always throw an exception due to the missing method 'SKRect.get_Standardized()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'CropRectangle.op_Implicit(CropRectangle)' will always throw an exception due to the missing method 'SKRect.Create(float, float, float, float)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'CropRectangle.op_Implicit(SKRectI)' will always throw an exception due to the missing method 'SKRectI.get_Standardized()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'CropRectangle.op_Implicit(CropRectangle)' will always throw an exception due to the missing method 'SKRectI.Create(int, int, int, int)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'CropRectangle.op_Implicit(Rect)' will always throw an exception due to the missing method 'Rect.get_X()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'CropRectangle.op_Implicit(CropRectangle)' will always throw an exception due to the missing method 'Rect..ctor(double, double, double, double)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'CropRectangle.op_Implicit(RectF)' will always throw an exception due to the missing method 'RectF.get_X()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'CropRectangle.op_Implicit(CropRectangle)' will always throw an exception due to the missing method 'RectF..ctor(float, float, float, float)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Point.op_Implicit(Point)' will always throw an exception due to the missing method 'Point.get_X()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Point.op_Implicit(Point)' will always throw an exception due to the missing method 'Point..ctor(double, double)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Point.op_Implicit(SKPointI)' will always throw an exception due to the missing method 'SKPointI.get_X()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Point.op_Implicit(Point)' will always throw an exception due to the missing method 'SKPointI..ctor(int, int)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'PointF.op_Implicit(PointF)' will always throw an exception due to the missing method 'PointF.get_X()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'PointF.op_Implicit(PointF)' will always throw an exception due to the missing method 'PointF..ctor(float, float)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'PointF.op_Implicit(SKPoint)' will always throw an exception due to the missing method 'SKPoint.get_X()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'PointF.op_Implicit(PointF)' will always throw an exception due to the missing method 'SKPoint..ctor(float, float)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Rectangle.op_Implicit(SKRect)' will always throw an exception due to the missing method 'SKRect.get_Standardized()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Rectangle.op_Implicit(Rectangle)' will always throw an exception due to the missing method 'SKRect.Create(float, float, float, float)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Rectangle.op_Implicit(SKRectI)' will always throw an exception due to the missing method 'SKRectI.get_Standardized()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Rectangle.op_Implicit(Rectangle)' will always throw an exception due to the missing method 'SKRectI.Create(int, int, int, int)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Rectangle.op_Implicit(Rect)' will always throw an exception due to the missing method 'Rect.get_X()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Rectangle.op_Implicit(Rectangle)' will always throw an exception due to the missing method 'Rect..ctor(double, double, double, double)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Rectangle.op_Implicit(RectF)' will always throw an exception due to the missing method 'RectF.get_X()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Rectangle.op_Implicit(Rectangle)' will always throw an exception due to the missing method 'RectF..ctor(float, float, float, float)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'RectangleF.op_Implicit(SKRect)' will always throw an exception due to the missing method 'SKRect.get_Standardized()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'RectangleF.op_Implicit(RectangleF)' will always throw an exception due to the missing method 'SKRect.Create(float, float, float, float)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'RectangleF.op_Implicit(Rect)' will always throw an exception due to the missing method 'Rect.get_X()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'RectangleF.op_Implicit(RectangleF)' will always throw an exception due to the missing method 'Rect..ctor(double, double, double, double)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'RectangleF.op_Implicit(RectF)' will always throw an exception due to the missing method 'RectF.get_X()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'RectangleF.op_Implicit(RectangleF)' will always throw an exception due to the missing method 'RectF..ctor(float, float, float, float)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Size.op_Implicit(SKSizeI)' will always throw an exception due to the missing method 'SKSizeI.get_Width()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Size.op_Implicit(Size)' will always throw an exception due to the missing method 'SKSizeI..ctor(int, int)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Size.op_Implicit(Size)' will always throw an exception due to the missing method 'Size.get_Width()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'Size.op_Implicit(Size)' will always throw an exception due to the missing method 'Size..ctor(double, double)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'SizeF.op_Implicit(SKSize)' will always throw an exception due to the missing method 'SKSize.get_Width()' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'SizeF.op_Implicit(SizeF)' will always throw an exception due to the missing method 'SKSize..ctor(float, float)' in assembly 'SkiaSharp'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'SizeF.op_Implicit(SizeF)' will always throw an exception due to the missing method 'SizeF.get_Width()' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
1>C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): warning : ILTransform : warning ILT0003: Method 'SizeF.op_Implicit(SizeF)' will always throw an exception due to the missing method 'Size..ctor(double, double)' in assembly 'Microsoft.Maui.Graphics'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
When the empty app launches, it throws an exception immediatly.
The text was updated successfully, but these errors were encountered:
Hi guys, thanks heap for the library.
I run into an issue when building with .NET native
Preproduce steps:
var bitmap = new AnyBitmap(new byte[3])
In UWP app properties, ensure to have .Net Native build tick:
App fails to build with these warnings & errors:
When the empty app launches, it throws an exception immediatly.
The text was updated successfully, but these errors were encountered: