Replies: 1 comment 2 replies
-
This is not possible. .NET Framework 4.0 can only be used in Windows. Linux must use .NET Standard version (.NET core) and System.Drawing.Common is necessary |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to the web page "How to use NPOI on Linux" (https://github.com/nissl-lab/npoi/wiki/How-to-use-NPOI-on-Linux), since NPOI 2.5.1 uses System.Drawing.Common, if I want to use NPOI 2.5.1 on Linux, I need to install libgdiplus and libc6 on Linux.
I am not sure what this means.
I am working on a .NET Framework 4.0 project, and want it to be able to run on Linux by Mono. Now I am considering using NPOI 2.5.1 in this project.
According to the NPOI 2.5.1 NuGet web page (https://www.nuget.org/packages/NPOI/2.5.1#dependencies-body-tab), for .NET Framework 4.0, there is not the dependency System.Drawing.Common. It is a dependency only for .NET Standard 2.0. Besides, Mono can run .NET Framework 4.0 programs. So, if I use NPOI 2.5.1 in my project, and want to run it on Linux by Mono, do I still need to install libgdiplus and libc6 on Linux?
Beta Was this translation helpful? Give feedback.
All reactions