[英]ExcelDataReader not working in Class Library project
Receiving the following error when trying to run a Server Process, class library project:尝试运行服务器进程 class 库项目时收到以下错误:
"ERROR: Error (0) Could not load file or assembly 'ExcelDataReader, Version=3.6.0.0, Culture=neutral, PublicKeyToken=93517dbe6a4012fa' or one of its dependencies. The system cannot find the file specified." “错误:错误(0)无法加载文件或程序集'ExcelDataReader,版本= 3.6.0.0,Culture=neutral,PublicKeyToken=93517dbe6a4012fa'或其依赖项之一。系统找不到指定的文件。”
I have installed the respective ExcelDataReader and ExcelDataReder.DataSet packages via NuGet.我已经通过 NuGet 安装了相应的 ExcelDataReader 和 ExcelDataReder.DataSet 包。
You can see all is loaded in the following screenshot:您可以在以下屏幕截图中看到所有内容都已加载:
Visual Studio Screenshot Visual Studio 屏幕截图
Any suggestions most welcome, please?有什么建议最欢迎吗?
Thank you.谢谢你。
I can 100% recommend the GemBox Excel solution.我可以 100% 推荐 GemBox Excel 解决方案。 This works perfectly in my .net standard 2.0 library solution.这在我的 .net 标准 2.0 库解决方案中完美运行。
https://www.gemboxsoftware.com/spreadsheet https://www.gemboxsoftware.com/spreadsheet
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.