Skip to content

Commit b3b0945

Browse files
authored
Add Windows GDI+ SKUs support note (#5023)
* Add Windows GDI+ SKUs support note * PR Feedback
1 parent 4da95d1 commit b3b0945

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

includes/drawing.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
> [!WARNING]
2-
> The `System.Drawing` namespace is not recommended for new development, due to not being supported within a Windows or ASP.NET service and it is not cross-platform. [ImageSharp](https://github.com/SixLabors/ImageSharp) and [SkiaSharp](https://github.com/mono/SkiaSharp) are recommended as alternatives.
1+
> [!CAUTION]
2+
> - The `System.Drawing` namespace is not recommended for new development, due to not being supported within a Windows or ASP.NET service and it is not cross-platform. [ImageSharp](https://github.com/SixLabors/ImageSharp) and [SkiaSharp](https://github.com/mono/SkiaSharp) are recommended as alternatives.
3+
> - On Windows, `System.Drawing` depends on the GDI+ native library, which is shipped as part of the OS. Some Windows SKUs, like Windows Server Core or Windows Nano, don't include this native library as part of the OS. Exceptions will be thrown at run time because the library can't be loaded.

0 commit comments

Comments
 (0)