Bug #118463 | Installation on UNIX/Linux is inconsistent | ||
---|---|---|---|
Submitted: | 17 Jun 6:26 | Modified: | 17 Jun 6:56 |
Reporter: | Daniël van Eeden (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | Connector / NET Documentation | Severity: | S3 (Non-critical) |
Version: | 9.3.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[17 Jun 6:26]
Daniël van Eeden
[17 Jun 6:39]
MySQL Verification Team
Hello Daniël, Thank you for the report and feedback. regards, Umesh
[17 Jun 6:56]
Daniël van Eeden
https://dev.mysql.com/doc/connector-net/en/connector-net-installation-source.html at the end of the page: "To build source code on Linux and macOS, you must target .NET Standard (-f netstandard2.0 or -f netstandard2.1). To build source code on Microsoft Windows, you can target .NET Standard and .NET Framework (-f net452 or -f net48)." It looks like this is outdated. In MySQL.Data/src/MySql.Data.csproj there is this: <TargetFrameworks>netstandard2.0;netstandard2.1;net9.0;net8.0;</TargetFrameworks> <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))"> <TargetFrameworks>net462;net48;$(TargetFrameworks)</TargetFrameworks> </PropertyGroup> So it looks like net9.0 and net8.0 are also valid on Linux. And net452 on Windows should be replaced with net462.