# EPPlus 6
## Announcement: new license model from version 5
EPPlus has from this new major version changed license from LGPL to [Polyform Noncommercial 1.0.0](https://polyformproject.org/licenses/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](https://www.epplussoftware.com/Home/LgplToPolyform).
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](https://github.com/EPPlusSoftware/EPPlus)
## 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
```csharp
// 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
```json
{
{
"EPPlus": {
"ExcelPackage": {
"LicenseContext": "Commercial" //The license context used
}
}
}
}
```
### 3. Via app/web.config
```xml
<appSettings>
<!--The license context used-->
<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 6
EPPlus 6 comes with a set of new features, see (https://www.epplussoftware.com/Developers/Features)
## Breaking Changes
* From version 6.2, updating data validations via the XML DOM will not work as read and write is performed on load/save. ExcelDataValidation.IsStale is deprecated and will always return false.
* All public references to System.Drawing.Common has been removed from EPPlus. See [Breaking Changes in EPPlus 6](https://github.com/EPPlusSoftware/EPPlus/wiki/Breaking-Changes-in-EPPlus-6).
* Static class 'FontSize' has splitted width and heights into two dictionaries. FontSizes are lazy-loaded when needed.
* ...and more, see https://epplussoftware.com/docs/6.0/articles/breakingchanges.html
### Breaking Changes in version 5.
* The default behavior for the Worksheet collection base in .NET Framework has changed from 1 to 0. This is the same default behavior as in .NET core today.
* Pictures have changed the behavior as the oneCellAnchor tag is used instead of the twoCellAnchor tag with the editAs="oneCell".
## Improved documentation
EPPlus 6 has a new web sample site available here: (https://samples.epplussoftware.com/) , Source code is available here: [EPPlus.WebSamples](https://github.com/EPPlusSoftware/EPPlus.WebSamples)
There is also a new sample project for four different docker images, [EPPlus.DockerSample](https://github.com/EPPlusSoftware/EPPlus.DockerSample)
EPPlus also has two separate sample projects for [.NET Core](https://github.com/EPPlusSoftware/EPPlus.Sample.NetCore/tree/version/EPPlus6.0) and [.NET Framework](https://github.com/EPPlusSoftware/EPPlus.Sample.NetFramework/tree/version/EPPlus6.0) respectively.
There is also an updated [developer wiki](https://github.com/EPPlusSoftware/EPPlus/wiki).
The work with improving the documentation will continue, feedback is highly appreciated!
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
C# winform基于最小二乘法计算斜率 (264个子文件)
DBToXmlTool.csproj.AssemblyReference.cache 35KB
DesignTimeResolveAssemblyReferencesInput.cache 9KB
DesignTimeResolveAssemblyReferences.cache 4KB
DBToXmlTool.csproj.GenerateResource.cache 130B
DBToXmlTool.csproj.CoreCompileInputs.cache 42B
DBToXmlTool.csproj.SuggestedBindingRedirects.cache 0B
packages.config 692B
App.config 189B
DBToXmlTool.exe.config 189B
DBToXmlTool.csproj.CopyComplete 0B
NPOIHelper.cs 8KB
DBToXml.cs 7KB
DBToXml.Designer.cs 5KB
DataPoint.cs 4KB
Resources.Designer.cs 3KB
AssemblyInfo.cs 1KB
Settings.Designer.cs 1KB
Program.cs 534B
.NETFramework,Version=v4.8.1.AssemblyAttributes.cs 214B
DBToXmlTool.csproj 7KB
EPPlus.dll 3.09MB
EPPlus.dll 3.09MB
EPPlus.dll 3.08MB
EPPlus.dll 3.08MB
EPPlus.dll 3.08MB
EPPlus.dll 3.08MB
EPPlus.dll 2.93MB
BouncyCastle.Crypto.dll 2.79MB
BouncyCastle.Crypto.dll 2.78MB
BouncyCastle.Crypto.dll 2.78MB
NPOI.OpenXmlFormats.dll 2.03MB
NPOI.OpenXmlFormats.dll 2.03MB
NPOI.OpenXmlFormats.dll 2.02MB
NPOI.OpenXmlFormats.dll 2.02MB
NPOI.dll 1.73MB
NPOI.dll 1.73MB
NPOI.dll 1.7MB
NPOI.dll 1.7MB
NPOI.OOXML.dll 619KB
NPOI.OOXML.dll 619KB
NPOI.OOXML.dll 616KB
NPOI.OOXML.dll 616KB
IrisSkin4.dll 544KB
ICSharpCode.SharpZipLib.dll 200KB
ICSharpCode.SharpZipLib.dll 200KB
ICSharpCode.SharpZipLib.dll 200KB
ICSharpCode.SharpZipLib.dll 200KB
ExcelDataReader.dll 158KB
ExcelDataReader.dll 158KB
ExcelDataReader.dll 158KB
ExcelDataReader.dll 158KB
NPOI.OpenXml4Net.dll 98KB
NPOI.OpenXml4Net.dll 98KB
NPOI.OpenXml4Net.dll 95KB
NPOI.OpenXml4Net.dll 95KB
Microsoft.IO.RecyclableMemoryStream.dll 40KB
Microsoft.IO.RecyclableMemoryStream.dll 39KB
Microsoft.IO.RecyclableMemoryStream.dll 38KB
Microsoft.IO.RecyclableMemoryStream.dll 37KB
Microsoft.IO.RecyclableMemoryStream.dll 37KB
Microsoft.IO.RecyclableMemoryStream.dll 37KB
Microsoft.IO.RecyclableMemoryStream.dll 37KB
Microsoft.IO.RecyclableMemoryStream.dll 36KB
EPPlus.System.Drawing.dll 8KB
EPPlus.System.Drawing.dll 7KB
EPPlus.System.Drawing.dll 7KB
EPPlus.System.Drawing.dll 7KB
EPPlus.System.Drawing.dll 7KB
EPPlus.System.Drawing.dll 7KB
EPPlus.System.Drawing.dll 7KB
EPPlus.Interfaces.dll 7KB
EPPlus.Interfaces.dll 7KB
EPPlus.Interfaces.dll 7KB
EPPlus.Interfaces.dll 7KB
EPPlus.Interfaces.dll 7KB
EPPlus.Interfaces.dll 7KB
EPPlus.Interfaces.dll 6KB
DBToXmlTool.exe 40KB
DBToXmlTool.exe 40KB
ceshi.ico 11KB
120_120.jpg 8KB
60_60.jpg 4KB
32_32.jpg 2KB
LICENSE 10KB
read.lock 0B
license.md 5KB
license.md 5KB
license.md 5KB
readme.md 4KB
readme.md 154B
readme.md 105B
NPOI.2.5.6.nupkg 10.51MB
EPPlus.6.2.6.nupkg 10.19MB
Portable.BouncyCastle.1.8.9.nupkg 3MB
SharpZipLib.1.3.3.nupkg 641KB
ExcelDataReader.3.6.0.nupkg 437KB
Microsoft.IO.RecyclableMemoryStream.1.4.1.nupkg 198KB
EPPlus.System.Drawing.6.1.1.nupkg 45KB
EPPlus.Interfaces.6.1.1.nupkg 43KB
.signature.p7s 19KB
共 264 条
- 1
- 2
- 3
资源评论
JingHua0327
- 粉丝: 228
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于QT+C++的智能云监护仪项目,能够实时显示使用者心电、血氧、血压波形及其它各种参数+源码(毕业设计&课程设计&项目开发)
- 基于java开发的app接收硬件端传输的心音信号,具有显示心音波形,发出心音的功能+源码(毕业设计&课程设计&项目开发)
- Python 程序语言设计模式思路-行为型模式:职责链模式:将请求从一个处理者传递到下一个处理者
- 9241703124789646.16健身系统2.apk
- postgresql-16.3-1-windows-x64.exe
- Python 程序语言设计模式思路-结构型模式:装饰器讲解及利用Python装饰器模式实现高效日志记录和性能测试
- 基于YOLOv5和DeepSORT的多目标跟踪仿真与记录
- Python 程序语言设计模式思路-创建型模式:原型模式:通过复制现有对象来创建新对象,面向对象编程
- 卸载软件geek卸载软件geek
- Python 程序语言设计模式思路-创建型模式:单例模式,确保一个类的唯一实例(装饰器)面向对象编程、继承
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功