Use System.Drawing.Bitmap from .NET Core 3.1 #37866
Labels
area-System.Drawing
question
Answer questions and provide assistance, not an issue with source code or documentation.
I am trying to use System.Drawing.Bitmap from a .NET Core 3.1 library.
According to docs https://docs.microsoft.com/en-us/dotnet/api/system.drawing.bitmap?view=dotnet-plat-ext-3.1 the type is available in the version 3.
When I try to build the library using Bitmap I got the error:
How can I create a .NET Core 3 class library using that type?
OBS: Using that type from a .NET Core WinForms work without any problem. (and there is no need to reference the nuget System.Drawing.Common since the type is already in the SDK).
The text was updated successfully, but these errors were encountered: