Just as above, set the variable to Commercial or NonCommercial depending on your usage. This might be the easiest way of configuring this. Set the environment variable 'EPPlusLicenseContext' "LicenseContext": "Commercial" //The license context usedĤ. Using(var package = new ExcelPackage(new FileInfo("MyWorkbook.xlsx"))) according to the Polyform Noncommercial license:ĮxcelPackage.LicenseContext = LicenseContext.NonCommercial If you use EPPlus in a noncommercial context LicenseContext of the ExcelPackage class :ĮxcelPackage.LicenseContext = LicenseContext.Commercial purchased commercial licenses use the static property Via code // If you are a commercial business and have This is a simple configuration that can be set in a few alternative ways: 1. If the LicenseContext is not set, EPPlus will throw a LicenseException (only in debug mode). With the license change EPPlus has a new parameter that needs to be configured. The source code of EPPlus has moved to a new github repository LicenseContext parameter must be set 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.Ĭommercial licenses, which includes support, can be purchased at ( ). EPPlus 7 Announcement: new license model from version 5ĮPPlus has from this new major version changed license from LGPL to Polyform Noncommercial 1.0.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |