Unable to install nuget package "MySql.Data" Version 8.0.32, "Failed to add reference to 'comerr64'"
Posted by: Anonymous Guest
Date: January 25, 2023 04:09AM

Hello all,

we tried to update/install the .NET 4.8 nuget package "MySql.Data" version 8.0.32 but it failed, because the package contains native DLLs which can't be set as reference directly to a C# .NET project (comerr64.dll, gssapi64.dll, k5sprt64.dll, krb5_64.dll, krbcc64.dll). So installing the nuget package fails with following message:
"Failed to add reference to 'comerr64'. Please make sure that the file is accessible, and that it is a valid assembly or COM component."

Yes, I know that we can download and reference the "MySql.Data.dll" manually, but that's not the intended use of nuget packages.

Are there other users with the same problem and possible solutions how to install the nuget package anyway?

Remarks:
- installing/updating to previous version 8.0.31 works, but we need 8.0.32.
- we use VS2022
- the issue occurs on a fresh created simple standalone .NET48 project where we want to install the package

Thank you very much!

Options: ReplyQuote




Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.