MySQL in a .NET App

When you have the MySQL .NET library installed on a local machine and want to deploy an Entity Framework application to a server without the library installed, I always (thus-far without fail) forget at least one of the following:

  • EntityFramework.dll – set to copy local
  • MySql.Data.dll – set to copy local
  • MySql.Data.Entity.dll – set to copy local
  • Update web.config to use MySQL DLLs (copy from x:WindowsMicrosoft.NETFramework[version]configmachine.config on local machine)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s