Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i embedding MySQL.Data.dll to exe?
Message
De
07/01/2012 12:49:56
 
 
À
07/01/2012 06:25:57
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Database:
MySQL
Divers
Thread ID:
01532371
Message ID:
01532388
Vues:
39
.net apps typically don't have large .exe files, but it is considered proper to have multiple DLLs.

In any event, doesn't that assembly belong in the GAC?

You can merge assemblies with ILMerge. http://www.codeproject.com/KB/dotnet/mergingassemblies.aspx

>Hi all,
> I use vb.net , mysql and download the ADO.NET Driver for MySQL (Connector/NET) driver, wrote the program (reference
>Mysql.data in C:\Program Files\MySQL\MySQL Connector Net 6.4.4\Assemblies\v2.0\MySql.Data.dll) , so the develop computer
>can execute, no error.
> But run to client computer display error.
> System.IO.FileNotFoundException: Can not find this file or module 'MySql.Data, Version=6.4.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'
>
> How can i embedding MySQL.Data.dll to exe. thank you ~~~
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform