I can't launch my C# project.
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'MySql.Data, Version=8.0.29.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'. The located assembly's manifest definition does not match the assembly reference. (0x80131040) File name: 'MySql.Data, Version=8.0.29.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' at MySQL_namespace.SQLWork.Initialize(String server_name, String _port, String database_name, String user, String pass) ...
It used to work before long time ago. Now, after I had issues with MySQL connection I have updated MySQL connector nuget. After that I also rebuilt it using .Net 5.0. Can't launch it now as it returns above error.
You can try as follows:
您是否确保将其复制到输出目录?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.