Compilation 编译Open XML后系统运行时版本不匹配

Compilation 编译Open XML后系统运行时版本不匹配,compilation,asp.net-core-3.1,openxml-sdk,Compilation,Asp.net Core 3.1,Openxml Sdk,我已经从中提取并编译了代码 当我尝试在另一个项目中引用该dll时(当我使用DocumentFormat.OpenXML Nuget包时,它可以正常工作-但我不想这样做),我会遇到以下错误: Assembly 'DocumentFormat.OpenXml' with identity 'DocumentFormat.OpenXml, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17' uses 'System.R

我已经从中提取并编译了代码
当我尝试在另一个项目中引用该dll时(当我使用DocumentFormat.OpenXML Nuget包时,它可以正常工作-但我不想这样做),我会遇到以下错误:

Assembly 'DocumentFormat.OpenXml' with identity 'DocumentFormat.OpenXml, Version=1.0.0.0, Culture=neutral, 
PublicKeyToken=8fb06cb64d019a17' uses 'System.Runtime, Version=5.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' 
with identity 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
我搜索了这两个项目,但找不到对System.Runtime 5.0.0.0的引用或依赖关系
(Nuget软件包仅适用于4.3.1)

OpenXMLDLL的目标是netstandard2.0(从它所在的文件夹“bin/Release”中), 我的其他项目的目标是.NETCore3.1

我做错了什么