Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i embedding MySQL.Data.dll to exe?
Message
From
07/01/2012 12:49:56
 
 
To
07/01/2012 06:25:57
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MySQL
Miscellaneous
Thread ID:
01532371
Message ID:
01532388
Views:
40
.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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform