Bug #97218 Connector/NET 8.0.18 depends on preview version of System.Resources.Extensions
Submitted: 14 Oct 2019 18:32 Modified: 15 Oct 2019 5:12
Reporter: Bradley Grainger (OCA) Email Updates:
Status: Verified Impact on me:
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
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.

[15 Nov 2019 19:42] Daniel Valdez
Posted by developer:
"System.Resources.Extensions" reference removed from the project since it's no longer needed.