[英]Bitmap not included in System.Drawing (Console Application)
I'm making an application for the console, which handles Bitmap images.我正在为控制台制作一个应用程序,它处理位图图像。 The problem I have is that
System.Drawing
seemingly does not include Bitmap
.我的问题是
System.Drawing
似乎不包括Bitmap
。 I already tried importing System.Drawing.Imaging
but as I read, it is not available for .Net Core
(not sure though...).我已经尝试导入
System.Drawing.Imaging
但正如我所读到的,它不适用于.Net Core
(虽然不确定......)。
To use the System.Drawing
objects in a Console Application
you need to add the System.Drawing
also to the references.要在
Console Application
使用System.Drawing
对象,您还需要将System.Drawing
添加到引用中。
References
References
菜单Add Reference...
Add Reference...
Assemblies
Assemblies
System.Drawing
System.Drawing
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.