【发布时间】:2013-10-24 09:25:06
【问题描述】:
我正在尝试使用 MySQL DLL 文件将 vb.net 2010 连接到 SQL 数据库,但是每当我编译它时,我都会收到以下错误:
Warning 1 The primary reference "MySql.Data" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". SQL
我也在我的桌面上尝试过它(也在 windows 8.1 上运行 vb 2010)但是它不会编译,但是在 windows 7 PC 上它编译没有问题,尽管设置似乎是一样。
有什么想法吗?
【问题讨论】: