Hi,
I have created an OutlookAddin and it works on my computer however when I publish it and try to install it on another computer it gives me the error message "Could not load file or assembly MySQL.data".
The property "Copy Local" is set to true on both MySQL.Data and MySQL.Data.Entity which are the 2 DLL's that I use.
Can anyone help me with this?
Thanks in advance,
Best regards,
Tomas
Loading

Tomas WesterlundPosted Jan 14, 2013, 4:24 PM
The thing was that on my local computer I had MySQL Connector installed so I had a version of MySQL.Data and MySQL.Data.Entity installed but the user didn't. It was a rookie mistake.
In this case I just checked "Copy Local" on the two references (MySQL.Data.dll and MySQL.Data.Entity.dll) and it fixed the problem.
However, as mentioned before, I read a lot of people having problem with this because of having another version installed under GAC. You can find your GAC version here (Win7):
c:\Windows\assembly
and that version should be same as the version you are using in your application.
Best regeards,
Tomas
Akkiraju IvaturiPosted Jan 13, 2013, 10:47 PM