VahidN / EPPlus.Core

EPPlus.Core is an unofficial port of the EPPlus library to .NET Core
GNU Lesser General Public License v3.0
370 stars 93 forks source link

.NET Core 2.0 System.Drawing #18

Closed Nohinn closed 6 years ago

Nohinn commented 7 years ago

Hello, right now this project makes use of CoreCompat lib to get the System.Drawing functionalities...

Could it be possible to use the official ones (System.Drawing.Common + System.Drawing.Primitives) from https://dotnet.myget.org/F/dotnet-core/api/v3/index.json?

The links to both packages are: https://dotnet.myget.org/feed/dotnet-core/package/nuget/System.Drawing.Primitives https://dotnet.myget.org/feed/dotnet-core/package/nuget/System.Drawing.Common

VahidN commented 7 years ago

Great! let's wait until it's final.

VahidN commented 7 years ago

Also this project is now part the original project as a new branch: branch_core More info here and here.

VahidN commented 7 years ago

The original project has been moved to Github https://github.com/JanKallman/EPPlus/commits/master And there will be an official beta with support for .NET Core, stable version will probably await Microsoft releasing System.Drawing in .NET Core.

VahidN commented 7 years ago

The first beta version of the System.Drawing.Common has been released: https://www.nuget.org/packages/System.Drawing.Common

But I can't use it from a .NET Standard project: error NU1202: Package System.Drawing.Common 4.5.0-preview1-25718-03 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package System.Drawing.Common 4.5.0-preview1-25718-03 supports: netcoreapp2.0 (.NETCoreApp,Version=v2.0)

VahidN commented 6 years ago

Added via #https://github.com/VahidN/EPPlus.Core/commit/99af3ef4e0b71ab20b093665ca32accfcbaaa480

dotnet add package EPPlus.Core --version 1.5.3