c# - Azure,ClosedXML : Build will NOT include DocumentFormat. OpenXML 在我的应用程序的 bin 文件夹中

标签 c# azure openxml closedxml

我将 dll 设置为在构建时复制本地,如下所示:

/image/rbu8X.png

它显示在我在 Azure 上的放置文件夹中:

/image/Z9TXJ.png

但它永远不会进入我的实际应用程序的 bin 文件夹,如下所示:

/image/6Qxdd.png

结果:

/image/KAXu4.png

有人有过这个特定 dll 无法到达您需要的位置的经验吗?

谢谢!

最佳答案

要解决类似问题,我必须删除对 DocumentFormat.OpenXML 和 ClosedXML 的所有引用。然后,我还卸载了OpenXML 2.5 SDK。我能够使用 ClosedXML nuget 包,一切都按预期工作。

关于c# - Azure,ClosedXML : Build will NOT include DocumentFormat. OpenXML 在我的应用程序的 bin 文件夹中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24961484/

相关文章:

c# - 打开从 C# 创建的 xlsx 时出现 Excel "found unreadable content"错误

c# - 打印时将行设置为在顶部重复 - 打开 XML 和 Excel

c# - 为值设置属性 [NonSerialized]

C#比较多种类型

c# - 无法解决与 Unity 和 WebAPI 的依赖关系

C# SMO-检查表是否已存在于目标服务器

azure - 在 Azure 云服务上启用 OPTIONS 方法(以启用 CORS)

Azure可扩展架构设计

python - Azure ML PipelineData 与 DataTransferStep 会生成 0 字节文件

java - 如何在 Java Web 应用程序中将 WordML 转换为 Office Open XML?