我尝试使用SQL文件将SQL2010连接到vb.net数据库,但是每当我编译它时,都会收到以下错误:
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我也在我的台式机上试过(在windows8.1上也运行vb2010),但是它不能编译,但是在windows7pc上编译没有问题,尽管设置看起来是一样的。
有什么想法吗?
发布于 2018-09-16 17:48:48
真正的
发布于 2013-10-24 17:28:03
在项目属性中将target framework version更改为4.5,或添加具有较低版本的引用以匹配您自己的版本(3.5、4.0)
https://stackoverflow.com/questions/19561968
复制相似问题