Click here to Skip to main content
15,943,008 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello i just done my code in vb.net
i failed to publish my main project

i tried to publish a blank vb, and it works properly

anyone experience this before???
is this because i added some reference
"
VB.NET
Imports MySql.Data.MySqlClient
"

which cause the problem?? need help asap

What I have tried:

Imports MySql.Data.MySqlClient
Posted
Updated 12-May-16 1:11am

1 solution

See my solution to this post how to include mysql-connector-net dll in publishing vb.net 2010 app[^]

Also take note of the licensing issues mentioned in the comments
 
Share this answer
 
Comments
newbie1992 12-May-16 7:30am    
hello
is that mean i need to change Imports MySql.Data.MySqlClient to Imports System.Data.SqlClient?
CHill60 12-May-16 7:51am    
Only if you want to switch over to using the SQLClient instead. Leave the import as it is, but you will need to install the MySQL dll as part of publishing your project
newbie1992 12-May-16 8:10am    
hello bro. thanks for your help!
just done publish my project..
what i actually need to do is set prerequisites
am i right?
CHill60 12-May-16 10:07am    
Yes - you'll need that

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900