I am trying to run a .Net application’s .exe file from bin/Debug folder but it gives me an error like
Cannot load file or assembly “Mysql.Data version=6.2.2.0″,culture=neutral publicKeyToken=c5…. or one of its dependencies.The system cannot find the file specified”
I haven’t worked on .Net before can anyone help ???
It tells you the problem; it can’t find
Mysql.Data.dll. There are two (main) ways it can get this:to achieve the latter, simply expand “references” in the solution explorer, find
Mysql.Data, and then (in the properties pane) ensure “Copy Local” is set to “True”. Then rebuild, and the file should appear.