OkEPPlus 7.4.3
dotnet add package OkEPPlus --version 7.4.3
NuGet\Install-Package OkEPPlus -Version 7.4.3
<PackageReference Include="OkEPPlus" Version="7.4.3" />
paket add OkEPPlus --version 7.4.3
#r "nuget: OkEPPlus, 7.4.3"
// Install OkEPPlus as a Cake Addin #addin nuget:?package=OkEPPlus&version=7.4.3 // Install OkEPPlus as a Cake Tool #tool nuget:?package=OkEPPlus&version=7.4.3
EPPlus 7
Announcement: new license model from version 5
EPPlus has from this new major version changed license from LGPL to Polyform Noncommercial 1.0.0.
With the new license EPPlus is still free to use in some cases, but will require a commercial license to be used in a commercial business.
This is explained in more detail here.
Commercial licenses, which includes support, can be purchased at (https://www.epplussoftware.com/).
The source code of EPPlus has moved to a new github repository
LicenseContext parameter must be set
With the license change EPPlus has a new parameter that needs to be configured. If the LicenseContext is not set, EPPlus will throw a LicenseException (only in debug mode).
This is a simple configuration that can be set in a few alternative ways:
1. Via code
// If you are a commercial business and have
// purchased commercial licenses use the static property
// LicenseContext of the ExcelPackage class :
ExcelPackage.LicenseContext = LicenseContext.Commercial;
// If you use EPPlus in a noncommercial context
// according to the Polyform Noncommercial license:
ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
using(var package = new ExcelPackage(new FileInfo("MyWorkbook.xlsx")))
{
}
2. Via appSettings.json
{
{
"EPPlus": {
"ExcelPackage": {
"LicenseContext": "Commercial" //The license context used
}
}
}
}
3. Via app/web.config
<appSettings>
<add key="EPPlus:ExcelPackage.LicenseContext" value="NonCommercial" />
</appSettings>
4. Set the environment variable 'EPPlusLicenseContext'
This might be the easiest way of configuring this. Just as above, set the variable to Commercial or NonCommercial depending on your usage.
Important! The environment variable should be set at the user or process level.
New features in EPPlus 7
* Calculation engine update to support array formulas. https://epplussoftware.com/en/Developers/EPPlus7
* Support for calculating legacy / dynamic array formulas.
* Support for intersect operator.
* Support for implicit intersection.
* Support for array parameters in functions.
* Better support for using the colon operator with functions.
* Better handling of circular references
* 90 new functions
* Faster optimized calculation engine with configurable expression caching.
* Breaking changes: Updated calculation engine, See [Breaking Changes in EPPlus 7](https://github.com/EPPlusSoftware/EPPlus/wiki/Breaking-Changes-in-EPPlus-7) for more information.
* Conditional Formatting improvements
* Improved performance, xml is now read and written on load and save.
* Cross worksheet support formula support.
* Extended styling options for color scales, data bars and icon sets.
Breaking Changes
See https://github.com/EPPlusSoftware/EPPlus/wiki/Breaking-Changes-in-EPPlus-7
Improved documentation
EPPlus 6 has a new web sample site available here: (https://samples.epplussoftware.com/) , Source code is available here: EPPlus.WebSamples There is also a new sample project for four different docker images, EPPlus.DockerSample EPPlus also has two separate sample projects for .NET Core and .NET Framework respectively. There is also an updated developer wiki. The work with improving the documentation will continue, feedback is highly appreciated!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.6.2
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
-
.NETStandard 2.0
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Drawing.Common (>= 4.7.3)
- System.Security.Cryptography.Pkcs (>= 8.0.1)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
.NETStandard 2.1
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Drawing.Common (>= 4.7.3)
- System.Security.Cryptography.Pkcs (>= 8.0.1)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
net6.0
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Drawing.Common (>= 6.0.0)
- System.Security.Cryptography.Pkcs (>= 8.0.1)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
net7.0
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Drawing.Common (>= 7.0.0)
- System.Security.Cryptography.Pkcs (>= 8.0.1)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
net8.0
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Drawing.Common (>= 7.0.0)
- System.Security.Cryptography.Pkcs (>= 8.0.1)
- System.Text.Encoding.CodePages (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.