0
TimMackey created
I'm migrating a file from another working app into .Core project. I'm not able to find a package or library to supply the Graphics class, hence, the symbol remains unresolved.
using System.Drawing;
public int X, Y, Width, Height;
public int Draw_Box(Graphics gfx)
{
gfx.DrawRectangle(Pen, X, Y, Width, Height);
return Height;
}
The Graphics class is resolved in .Application project.
What package/library will resolve the reference in .Core project?
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
please install the System.Drawing.Common package to the Core project.
https://www.nuget.org/packages/System.Drawing.Common/4.5.1
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Issue solved. Thank you.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)