简体   繁体   English

无法加载文件或程序集“ MySql.Data”,参数不正确

[英]Could not load file or assembly 'MySql.Data' the parameter is incorrect

I keep getting this exception when I start my program. 启动程序时,我不断收到此异常。

System.IO.FileLoadException: Could not load file or assembly 'MySql.Data, Version=8.0.13.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'. The parameter is incorrect.

Somewhere I read it could be caused by a corrupted package: I have tried to reinstall the NuGet package, but it's still not working. 在我读过的某个地方,它可能是由损坏的软件包引起的:我试图重新安装NuGet软件包,但仍无法正常工作。

NOTE: I'm not using Visual Studio, I'm coding a .NET Core class library using Jetbrains Riders on a Linux computer. 注意:我不使用Visual Studio,而是在Linux计算机上使用Jetbrains Riders编写.NET Core类库。

Try using an older version of MySql. 尝试使用旧版本的MySql。 Use the NuGet-Manager and download version 6.8.8 of MySql.Data, always worked for me. 使用NuGet-Manager并下载适用于我的MySql.Data版本6.8.8。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 .NET 核心中 MySQL.Data 的“无法加载文件或程序集”问题 - "Could not load file or assembly" problem with MySQL.Data in .NET core 无法加载文件或程序集“ mysql.data”,版本= 6.7.4.0 - Could not load file or assembly 'mysql.data,' version=6.7.4.0 无法加载文件或程序集'MySql.Data,版本= 6.7.4.0 - Could not load file or assembly 'MySql.Data, Version=6.7.4.0 无法加载文件或程序集 'MySql.Data,版本 = 6.2.2.0 - Could not load file or assembly 'MySql.Data, Version=6.2.2.0 使用mysql企业dll消息连接mysql无法加载文件或程序集'mysql.data version = 6.4.4.0 - Conect mysql with mysql enterprise dll message could not load file or assembly 'mysql.data version=6.4.4.0 BLToolkit-mysql-connector异常:无法加载文件或程序集MySql.Data,版本= 6.9.7.0 - BLToolkit-mysql-connector exception: Could not load file or assembly MySql.Data, Version=6.9.7.0 无法加载文件或程序集 MySql.Data,在异常中引用两个文件 - Could not load file or assembly MySql.Data, referencing two files in exception 无法加载文件或程序集 'MySql.Data, Version=8.0.29.0.. 找到的程序集的清单定义与程序集引用不匹配 - Could not load file or assembly 'MySql.Data, Version=8.0.29.0.. The located assembly's manifest definition does not match the assembly reference 无法加载文件或程序集...参数不正确 - Could not load file or assembly ... The parameter is incorrect 缺少文件或程序集 MySql.Data 或依赖项 - The File or Assembly MySql.Data or a dependency is missing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM