Bug #97218 Connector/NET 8.0.18 depends on preview version of System.Resources.Extensions
Submitted: 14 Oct 2019 18:32 Modified: 10 Aug 2022 21:04
Reporter: Bradley Grainger (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:8.0.18 OS:Windows (10)
Assigned to: CPU Architecture:Any

[14 Oct 2019 18:32] Bradley Grainger
Description:
According to https://www.nuget.org/packages/MySql.Data/, MySql.Data 8.0.18 depends on System.Resources.Extensions (>= 4.6.0-preview8.19405.3)

But according to https://www.nuget.org/packages/System.Resources.Extensions/, System.Resources.Extensions 4.6.0 (final release) is available.

MySql.Data should depend on the final released version (4.6.0) not on a preview version (4.6.0-preview8.19405.3).

How to repeat:
Install MySql.Data from NuGet, e.g., 'dotnet add package MySql.Data' and build the application, e.g., 'dotnet build'.

In the bin\Debug folder, there is a preview version of System.Resources.Extensions.dll.

Suggested fix:
Change the <Version> on this line https://github.com/mysql/mysql-connector-net/blob/133dbe5a678d5bd7f1a8adffd7dc28d4f7d20d2b... to "4.6.0".
[15 Oct 2019 5:12] MySQL Verification Team
Hello Bradley,

Thank you for the report and feedback.

regards,
Umesh
[15 Nov 2019 19:42] Daniel Valdez
Posted by developer:
 
"System.Resources.Extensions" reference removed from the project since it's no longer needed.
[10 Aug 2022 21:04] Daniel Valdez
Fixed in MySQL Connector/NET 8.0.19 release.