7
我在项目中添加了EPPlus和OfficeOpenXml的用法。 然而,当我跑我的项目,我得到这个错误和警告:EPPlus上的错误
警告:
The referenced assembly "EPPlus" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
错误:
The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'ExcelPackage' could not be found (are you missing a using directive or an assembly reference?)
有人可以帮我指点迷津?
请给我一个解决方案 – Morilog
更新了解决方案。让我知道这是否有帮助。 –