Bug #97390 Unusual Date attribute
Submitted: 28 Oct 2019 3:59 Modified: 22 Nov 2019 22:19
Reporter: Vlad V Email Updates:
Status: Closed Impact on me:
Category:Connector / NET Severity:S3 (Non-critical)
Version:8.0.18 OS:Windows (7 64-bit SP1)
Assigned to: CPU Architecture:x86

[28 Oct 2019 3:59] Vlad V
MySql.Data 8.0.18 (NuGet Gallery)

After installation in the project the files MySql.Data.dll and MySql.Data.xml in subfolders \packages\MySql.Data.8.0.18\lib\net452, ...\netstandard2.0, ...\netstandard2.1 have unusual Date attribute: 01/01/1980.

Actually the library is working but the Date is confusing.

How to repeat:
Create a test .net project (VS 2019), language C#, .Net Framework 4.8, add MySql.Data 8.0.18 from NuGet Gallery, go to \packages\MySql.Data.8.0.18\lib\net452, notice the value of Date attribute: 01/01/1980 of the files MySql.Data.dll and MySql.Data.xml.

Suggested fix:
It will enough to change the Date attribute to the date when DLL was compiled.
[28 Oct 2019 5:17] MySQL Verification Team
Hello Vlad V,

Thank you for the report.
I'm not sure whether this is intended one but on Win10, when compared to earlier versions date attribute is missing for 8.0.18.

[28 Oct 2019 5:18] MySQL Verification Team

Attachment: 97390.docx (application/vnd.openxmlformats-officedocument.wordprocessingml.document, text), 105.56 KiB.

[28 Oct 2019 5:39] Vlad V
Date modified

Attachment: date_modified.png (image/png, text), 35.99 KiB.

[28 Oct 2019 5:41] Vlad V
Please find attached screenshot taken from Win 7:

[29 Oct 2019 15:24] Bradley Grainger
This could possibly be related to https://github.com/dotnet/core/issues/3388

However, that would mean that the package wasn't built with the RTM version of the tools, since that problem was fixed for GA.
[5 Nov 2019 12:13] Bradley Grainger
This commit message makes me wonder if 8.0.18 is actually being compiled with the 3.0.100-preview9 SDK: https://github.com/mysql/mysql-connector-net/commit/c2cd3c8046b44444758d720a047bf11e998030...
[22 Nov 2019 20:26] Daniel Valdez
Posted by developer:
This issue was on NuGet side and now it's solved. We have verified that now our NuGet packages contain the correct date.
[22 Nov 2019 22:19] Christine Cole
Posted by developer:
Fixed as of the upcoming MySQL Connector/NET 8.0.19 release, and here's the changelog entry:

Connector/NET files displayed an unlikely date after the NuGet package
containing them was installed in a project.

Thank you for the bug report.