I created a Windows form application (C#) with Mysql as back end
mysql connector net 6 0 2 is used in my form for connection
the exe works fine on my system but when i copied it to other computer and tr开发者_Go百科y to run it, it is giving me eror as MySQL Connector/Net 6.0.2 file path not found
Thanx
You either need to deploy the MySQL Connector assemblies with your own application (or merge them into your own application assembly), or ensure the connector is installed on the machine you need to run the application on.
Try packing your application in a installer and add the connector as a resource when setting the project .Net makes this really easy but differs based on the IDE you are using.
精彩评论