我正在尝试将现有的 WCF 服务迁移到 .Net5.0 Web API。目前,我们有 Excel Interop 依赖项来实现 Excel 单元格更新,在 Excel 中运行宏,然后捕获特定单元格范围的屏幕截图。
当我尝试使用 nuget 包添加 Microsoft Interop 与 .Net5.0 时,看到警告,好像它与 .Net Framework 以外的其他版本不兼容。
任何人都可以帮助我是否可以将 nuget 包添加到 .Net5.0 Web API 项目中?
c# excel asp.net-core-webapi .net-5
.net-5 ×1
asp.net-core-webapi ×1
c# ×1
excel ×1