EPPlus.Core icon indicating copy to clipboard operation
EPPlus.Core copied to clipboard

EPPlus.Core is an unofficial port of the EPPlus library to .NET Core

News

This project helped EPPlus to add .NET Core support. Please start using the original EPPlus. It supports .NETFramework 3.5, .NETFramework 4.0 & .NETStandard 2.0 now.


EPPlus.Core

EPPlus.Core is an unofficial port of the EPPlus library to .NET Core. It's based on the 5/24/2017, change set#fcded570d92e.

Install via NuGet

To install EPPlus.Core, run the following command in the Package Manager Console:

PM> Install-Package EPPlus.Core

You can also view the package page on NuGet.

Usage

  • Functional Tests
  • A sample ASP.NET Core App

Notes:

To run this project on non-Windows-based operating systems, you will need to install libgdiplus too:

  • Ubuntu 16.04 and above:
    • apt-get install libgdiplus
    • cd /usr/lib
    • ln -s libgdiplus.so gdiplus.dll
  • Fedora 23 and above:
    • dnf install libgdiplus
    • cd /usr/lib64/
    • ln -s libgdiplus.so.0 gdiplus.dll
  • CentOS 7 and above:
    • yum install autoconf automake libtool
    • yum install freetype-devel fontconfig libXft-devel
    • yum install libjpeg-turbo-devel libpng-devel giflib-devel libtiff-devel libexif-devel
    • yum install glib2-devel cairo-devel
    • git clone https://github.com/mono/libgdiplus
    • cd libgdiplus
    • ./autogen.sh
    • make
    • make install
    • cd /usr/lib64/
    • ln -s /usr/local/lib/libgdiplus.so gdiplus.dll
  • Docker
    • RUN apt-get update \

      && apt-get install -y libgdiplus

  • MacOS
    • brew install mono-libgdiplus

      After installing the Mono MDK, Copy Mono MDK Files:

      • /Library/Frameworks/Mono.framework/Versions/4.6.2/lib/libgdiplus.0.dylib
      • /Library/Frameworks/Mono.framework/Versions/4.6.2/lib/libgdiplus.0.dylib.dSYM
      • /Library/Frameworks/Mono.framework/Versions/4.6.2/lib/libgdiplus.dylib
      • /Library/Frameworks/Mono.framework/Versions/4.6.2/lib/libgdiplus.la

      And paste them to: /usr/local/lib

The original EPPlus project has been moved to Github. Please post its development related issues/pull requests at there. The main purpose of the current project is just providing an existing EPPlus for .NET Standard. There will be no further developments here.