编译“DocumentFormat::OpenXml::UInt32Value”时出现错误,您必须引用程序集“DocumentFormat.OpenXml.Framework”

问题描述 投票:0回答:1

使用 DocumentFormat.OpenXml 版本 3.0.2 编译 openxml 模块时,出现以下错误

错误 C3465:要使用类型“DocumentFormat::OpenXml::UInt32Value”,您必须引用程序集“DocumentFormat.OpenXml.Framework”

使用 open xml 2.19 成功编译。

您能帮忙解决这个错误吗

openxml openxml-sdk
1个回答
0
投票

我通过将 DocumentFormat.OpenXml.Framework.dll 添加到我的编译路径来解决这个问题。

© www.soinside.com 2019 - 2024. All rights reserved.