且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

运行构建.NET应用程序这需要MySql.Data

更新时间:2023-10-11 20:10:28

尝试:

  1. 在重建使用发布配置和检查,以确保MySQL.Data.dll是在你的发行版文件夹中。
  2. 右键单击该MySQL.Data参考,选择属性,并确保复制本地设置为true。
  3. 清洁并再次重建,并再次检查release文件夹。

这听起来像你的程序集是在全局程序集缓存,但不被随您的应用程序生成的输出。

It sounds like your assembly is in the global assembly cache but is not being shipped with your application build output.