I have a project which targets the .NET Standard 2.0. This project does only contain resources such as icons, images, strings,.. If I import a .png within a resource file (.resx) and set the code gen. to public, it generates those fields as byte[] rather than System.Drawing.Bitmap (which I would need). All images are marked as embedded resources, where is the problem? Using .NET Framework 4.8 it worked just fine. Using Visual Studio 2019.
E.g:
public static byte[] accept {
get {
object obj = ResourceManager.GetObject("accept", resourceCulture);
return ((byte[])(obj));
}
}