Skip to content

Commit 4f31972

Browse files
committed
Remove net7.0 target framework.
This .NET version has been EOL for six months. Users of MySqlConnector.DependencyInjection who want to inject a DbDataSource will need to target .NET 8 or greater.
1 parent 390d579 commit 4f31972

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/content/overview/installing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ Or, in Visual Studio, use the _NuGet Package Manager_ to browse for and install
3030
<AssemblyTitle>My Application</AssemblyTitle>
3131
<Description>A great application</Description>
3232
<OutputType>Exe</OutputType>
33-
<TargetFramework>net7.0</TargetFramework>
33+
<TargetFramework>net8.0</TargetFramework>
3434
</PropertyGroup>
3535

3636
<ItemGroup>
37-
<PackageReference Include="MySqlConnector" Version="2.2.5" />
37+
<PackageReference Include="MySqlConnector" Version="2.3.7" />
3838
</ItemGroup>
3939

4040
</Project>

src/MySqlConnector.DependencyInjection/MySqlConnector.DependencyInjection.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<EnablePackageValidation>false</EnablePackageValidation>

src/MySqlConnector/CompatibilitySuppressions.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids -->
2+
<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
33
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
44
<Suppression>
55
<DiagnosticId>CP0001</DiagnosticId>
@@ -18,7 +18,7 @@
1818
<DiagnosticId>CP0001</DiagnosticId>
1919
<Target>T:System.Data.Common.DbDataSource</Target>
2020
<Left>lib/net6.0/MySqlConnector.dll</Left>
21-
<Right>lib/net7.0/MySqlConnector.dll</Right>
21+
<Right>lib/net8.0/MySqlConnector.dll</Right>
2222
</Suppression>
2323
<Suppression>
2424
<DiagnosticId>CP0002</DiagnosticId>

src/MySqlConnector/MySqlConnector.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net462;net471;net48;netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net462;net471;net48;netstandard2.0;netstandard2.1;net6.0;net8.0;net9.0</TargetFrameworks>
55
<Description>A truly async MySQL ADO.NET provider, supporting MySQL Server, MariaDB, Amazon Aurora, Azure Database for MySQL, Google Cloud SQL, and more.</Description>
66
<Copyright>Copyright 2016–2024 Bradley Grainger</Copyright>
77
<Authors>Bradley Grainger</Authors>

0 commit comments

Comments
 (0)