DEV Community

sunj
sunj

Posted on

ERROR : Please set the ExcelPackage.LicenseContext property, 2024-04-03

EPPlus는 LGPL 오픈 소스 라이선스에 따라 버전 4.5.3.3 까지 라이선스가 부여되었지만, 버전 5부터는 Polyform Noncommercial 1.0.0 즉, 상용화가 되었습니다.

5.0 이상의 버전을 사용하면서, 상용버전이 아닌 개인적인 사용이라면 아래과 같이

"ExcelPackage.LicenseContext = LicenseContext.NonCommercial;" 을 추가해 주셔야 사용이 가능합니다.

ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
Enter fullscreen mode Exit fullscreen mode

참조 : https://aspdotnet.tistory.com/2681

Top comments (0)