I am developing Desktop application using c#.net and MySql. Is there any solution to communicate with MySql with out any extra dll file. as I am using MySql.Data.dll and I have to put that file with my exe file which is not feasible solution.
Asked
Active
Viewed 227 times
0
-
is there a specific reason why you do not want to put the dll file with your exe ? – vikramjb Jan 13 '10 at 08:18
2 Answers
0
It seems like an amazingly inefficient use of your time, but if distributing a MySql.Data.dll is really forbidden you could always download the source code and try to bundle it within your app. https://launchpad.net/connectornet

sdcoder
- 496
- 2
- 4
0
Alternatively you could try to merge the MySql.Data.dll into your exe using for example one of the tools discussed here. Or, if your app doesn't use the database heavily, you could create some kind of central service application that your app talks to (through web services, perhaps) and that in turn handles the database querying (using MySql.Data.dll).

Community
- 1
- 1

Anders Fjeldstad
- 10,724
- 2
- 33
- 50