Mysql dll never appears in bin folder
My site is using MySql as its db. I have added links to mysql.Data, MySql.Data.Entity, MySql.Web dll using link and view at their location. However, these dlls are never in my bin folder and therefore are not published to the site when published to the host server. If I add them again, they are verified in the review section, so the site knows to link to them, but they are not in the bin folder. Does anyone know what's going on?
source to share
MySql.Data.dll
is in the GAC (Global Assembly Cache), so Visual Studio does not copy it to the bin folder, even if Copy Local
true.
You can copy the assembly from the installation directory (I was able to find it in Program Files/MySQL/MySQL Connector xxx/Assemblies
and copy it manually to the bin folder for deployment.
source to share