簡體   English   中英

使用Connector / NET和Visual Studio 2013 Express引用MySQL

[英]referencing MySQL with Connector/NET and Visual Studio 2013 Express

我正在Visual Studio 2013 Express重建Visual Studio 2008項目。 我安裝了MySQL for Windows (5.6.14)MySQL for Windows (5.6.14)的最新社區版本MySQL for Windows (5.6.14) ,即使將引用添加到最新的MySql.Data程序集( 6.7.4 version 4.0 )之后,也會出現以下錯誤。

> Warning   1   Could not resolve this reference. Could not locate the
> assembly "MySql.Data, Version=6.2.3.0, Culture=neutral,
> PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL". Check to
> make sure the assembly exists on disk. If this reference is required
> by your code, you may get compilation errors. OVS1

錯誤消息引用的版本是6.2.3.0,這很奇怪。 然后,我卸載了MySQL for Windows安裝MySQL for Windows一部分的Connector/NET ,然后安裝了Connector/NET 6.7.4的“獨立”版本。 出現相同的錯誤消息。 通過瀏覽添加到Connector/NET 6.7.4 version 4.0的程序集的引用似乎也沒有安裝該引用,並且出現了相同的錯誤。 我該如何解決?

我懷疑是最新的Express IDE引起的,我做了以下工作。

我卸載了VS 2013 Express ,卸載了獨立的Connector/NET ,卸載MySQL for Windows ,然后安裝了Visual C# Express 2010並重新安裝MySQL for Windows 5.6.14 發生相同的問題。

從Visual Studio或Visual C#中,刪除對MySql.Data的引用,然后再次添加它。

還沒有發布可用的.net mysql連接器,請等待mysql開發人員完成它

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM