Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CoreCompact.System.Drawing implementation

I know I'm being thick but I am having trouble implementing a new 'using' directory for my .NET Core project.

I have downloaded the necessary files for CoreCompact.System.Drawing (https://github.com/CoreCompat/CoreCompat)

I simply have no idea how to implement the folders so that I can start using this directory and subsequently use the system.drawing objects that are not supported in Core projects.

I am new to ASP.Net but have been studying C# for long enough that I don't need too detailed a guide.

like image 500
James Lewis Avatar asked Jun 29 '26 09:06

James Lewis


1 Answers

There's no need to use CoreCompat.System.Drawing anymore. In fact, the author says you shouldn't. The reason? Microsoft provides an official System.Drawing.Common NuGet package now.

To install:

  1. Select the Tools menu
  2. NuGet package manager
  3. Manage NuGet packages for solution
  4. Click Browse tab
  5. Search for System.Drawing.Common
  6. Select the Microsoft package
  7. Tick/check your project on the right-hand panel.
  8. Click Install
  9. Agree to the licence agreement.
like image 198
DiplomacyNotWar Avatar answered Jul 01 '26 00:07

DiplomacyNotWar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!