2 messages in com.mysql.lists.dotnetRE: How to bundle .net driver with ap...| From | Sent On | Attachments |
|---|---|---|
| Fahad Khowaja | 03 Oct 2006 02:10 | |
| Kevin Turner | 03 Oct 2006 02:52 |
| Subject: | RE: How to bundle .net driver with application![]() |
|---|---|
| From: | Kevin Turner (kevi...@coraltree.co.uk) |
| Date: | 10/03/2006 02:52:07 AM |
| List: | com.mysql.lists.dotnet |
I always deliver mysql.data.dll in the bin folder with all my applications other
dll's - that way your deployed application always uses the correct version. This
does (I presume) rely on the fact that the deployment machine has not had a
different .Net Connector dll installed in the GAC separately. There should be no
real reason to install the connector separately on the deployment machine. Why
would your users do this? Are they developers too?
-----Original Message----- From: Fahad Khowaja [mailto:faha...@hotmail.com] Sent: 03 October 2006 10:11 To: dot...@lists.mysql.com Subject: How to bundle .net driver with application
Hello everyone!
Im new to this list. I have developed an application in C# which accesses a MySQL database using the .NET connector. I have two questions:
1) My development machine has the 1.0.4 version of the connector installed and the application was built against this. A test machine I ran my program on had the 1.0.7 version of the connector. On this machine, my database thread wont even start. I downgraded the connector to 1.0.4 and the program started working fine. Can an application only work with the same version of the connector it was built against?
2) Some of my users who have to run this program will not have the right connector version installed. Is there a way to package the connector along with the application so that when the user installs the application it gets installed automatically and the user doesnt have to worry about getting the right connector version?
Thanks,
Fahad.
--
MySQL on .NET Mailing List
For list archives: http://lists.mysql.com/dotnet
To unsubscribe:
http://lists.mysql.com/dotnet?unsub=kevi...@coraltree.co.uk
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.407 / Virus Database: 268.12.11/460 - Release Date: 01/10/2006
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.407 / Virus Database: 268.12.11/460 - Release Date: 01/10/2006




