MySQL的.NET提供5.2没有在VS 2008例preSS数据源对话框出现数据源、对话框、NET、MySQL

2023-09-07 10:43:31 作者:带上耳机聆听这世界

我已经安装了MySQL .NET数据提供程序5.2(通过它的安装程序),但我看不出在数据库资源管理器中的数据源对话框MySQL的数据提供者。

I have installed MySQL .NET data provider 5.2 (through it's installer) but I could not see the MySQL data provider in Data Source dialog of Database Explorer.

我使用VS 2008例preSS版。你有没有什么线索?

I am using VS 2008 Express edition. Do you have any clues ?

问候, Jatan

推荐答案

2008年VS防爆preSS(和VS 2005例preSS太)不允许你通过数据源使用MySQL .NET提供对话。非防爆preSS版本允许你这样做。

VS 2008 Express (and VS 2005 Express too) doesn't allow you to use MySQL .Net Provider through the Data Source Dialog. The non-Express edition allow you to do the same.

要在VS防爆preSS使用MySQL,你将不得不包括提及从您安装提供商(最可能是C:\ Program Files文件\ MySQL的\的MySQL Connector净XXX)的位置MySQL的DLL文件。或者从同一个位置复制的DLL到项目的Bin文件夹。

To use MySQL in VS Express, you will have to include a reference to the MySQL DLLs from the location where you installed the Provider (most probably C:\Program Files\MySQL\MySQL Connector Net x.x.x). Or copy the DLLs from the same location to the Bin folder of your project.