Add MySql.Data.dll to referencies

alvaro.sg93's Avatar

alvaro.sg93

11 Jan, 2015 10:19 PM

Hi, I use MySql.Data.dll library (version 6.9.5.0) with my program. When I make a new build I got this error:

Could not resolve this reference. Could not locate the assembly "MySql.Data, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL"

I have MySql.Data.dll in the same folder as the program because I make a local copy but I don't submit to github the folder.

Should I make another copy of the library outside the program folder and reference to that copy?

  1. Support Staff 1 Posted by Feodor Fitsner on 11 Jan, 2015 10:24 PM

    Feodor Fitsner's Avatar
  2. 2 Posted by alvaro.sg93 on 11 Jan, 2015 11:49 PM

    alvaro.sg93's Avatar

    So I delete the reference and install Mysql.Data from NuGet or I need to configure appveyor.yml?

  3. Support Staff 3 Posted by Feodor Fitsner on 11 Jan, 2015 11:51 PM

    Feodor Fitsner's Avatar

    Yeah, and add "nuget restore" command into "Before build" section.

    -Feodor

  4. 4 Posted by alvaro.sg93 on 12 Jan, 2015 12:01 AM

    alvaro.sg93's Avatar

    Thanks, that worked!

  5. alvaro.sg93 closed this discussion on 12 Jan, 2015 12:01 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac