From f65c902d401e4394f2d327ed7b14999564c3e6d9 Mon Sep 17 00:00:00 2001 From: Developer Date: Thu, 20 Nov 2025 14:23:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4EPPlus=204.x=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E4=B8=8D=E6=94=AF=E6=8C=81=E7=9A=84LicenseContext?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EPPlus 4.5.3.3版本不存在LicenseContext属性,该属性是5.0+版本新增的 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- WinFormsApp1/Form1.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/WinFormsApp1/Form1.cs b/WinFormsApp1/Form1.cs index 852bfd5..7a5a74f 100644 --- a/WinFormsApp1/Form1.cs +++ b/WinFormsApp1/Form1.cs @@ -101,9 +101,7 @@ namespace WinFormsApp1 progressBar.Maximum = xlsxFiles.Length; progressBar.Value = 0; - // 设置EPPlus许可证上下文 - OfficeOpenXml.ExcelPackage.LicenseContext = OfficeOpenXml.LicenseContext.NonCommercial; - + var allData = new List(); var headers = new List();