1
Reply

MySQL.Data.DLL not building with Assembly VS2005

Blake Arnold

Blake Arnold

Oct 31 2007 8:48 AM
2.3k

Hey Guys,

I am pretty new to assembling an application, but fairly used to coding. Anyways, I have finished coding my app and it interfaces with a MySQL DB. When I build the app I get a .exe which I am expecting. However, when I run it on another machine I get a MySQL.Data assembly error. Based on the research that I did it is because it is missing the MySQL.data.dll at runtime. Is there a way to build this dll into my exe? If so, what is the procedure? If not, then how do I go about getting this into my app? When all is said and done I want to be able to push out one exe that will preferable be able to run on its own without being installed. If necessary though, I can make an install package and distribute that.

Oh, wise ones.......please come to my rescue. ;)

Thanks in advance....


Answers (1)