Skip to content

Commit

Permalink
Remove net7.0 target framework.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bgrainger committed Oct 20, 2024
1 parent 390d579 commit 4f31972
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/content/overview/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ Or, in Visual Studio, use the _NuGet Package Manager_ to browse for and install
<AssemblyTitle>My Application</AssemblyTitle>
<Description>A great application</Description>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MySqlConnector" Version="2.2.5" />
<PackageReference Include="MySqlConnector" Version="2.3.7" />
</ItemGroup>

</Project>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net7.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<EnablePackageValidation>false</EnablePackageValidation>
Expand Down
4 changes: 2 additions & 2 deletions src/MySqlConnector/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids -->
<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Suppression>
<DiagnosticId>CP0001</DiagnosticId>
Expand All @@ -18,7 +18,7 @@
<DiagnosticId>CP0001</DiagnosticId>
<Target>T:System.Data.Common.DbDataSource</Target>
<Left>lib/net6.0/MySqlConnector.dll</Left>
<Right>lib/net7.0/MySqlConnector.dll</Right>
<Right>lib/net8.0/MySqlConnector.dll</Right>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
Expand Down
2 changes: 1 addition & 1 deletion src/MySqlConnector/MySqlConnector.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

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

0 comments on commit 4f31972

Please sign in to comment.