none
VB2023 project error when compiling RRS feed

  • Question

  • Hi,

    Just got a project that was done for me and there is an error when loading/compiling. The coder is not available, and probably won't ever be again, so...

    The app gets an image, rename it and copy it to a specified directory. It also saves some information in a MySQL database.

    It works fine, but needs some few adjustments. My limited knowledge of VB allows me to make these changes, but I can't run or recompile the project due to these errors.

    Error:

    The referenced component "MySQL.Data" could not be found

    and

    It was not possible to find assembly "MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL".

    Any help will be great.

    Sunday, July 16, 2017 1:59 AM

All replies

  • Error:
    The referenced component "MySQL.Data" could not be found

    Your project has a reference to a component that is not found on your machine.  This is possibly an installation issue with your version of VS: when it is installed you need to ensure that MySQL is part of the installation.   If MySQL is installed then you need to go into Project References and re-select the reference to "MySQL.Data". The exact procedure for installing and referencing MySQL will vary depending on your version of VS.  See, for instance:
    https://stackoverflow.com/questions/6422936/adding-mysql-data-as-a-reference-in-visual-studio-ultimate-2010

    Sunday, July 16, 2017 2:05 AM
  • Hi,

    Just got a project that was done for me and there is an error when loading/compiling. The coder is not available, and probably won't ever be again, so...

    The app gets an image, rename it and copy it to a specified directory. It also saves some information in a MySQL database.

    It works fine, but needs some few adjustments. My limited knowledge of VB allows me to make these changes, but I can't run or recompile the project due to these errors.

    Error:

    The referenced component "MySQL.Data" could not be found

    and

    It was not possible to find assembly "MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL".

    Any help will be great.

    You might also consider this:

    Start a new project from scratch and build it yourself. You'll always have it all then.


    "A problem well stated is a problem half solved.” - Charles F. Kettering

    Sunday, July 16, 2017 1:12 PM
  • Hi lhoracio,

    Right-click project, and then select Manage Nuget Packages, choose Browse tab, like below:

    To download MySQL.Data DLL and install it, then you can use this dll in your project.

    Best Regards,

    Cherry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by Stanly Fan Wednesday, July 19, 2017 7:54 AM
    Monday, July 17, 2017 8:02 AM
    Moderator