Skip to content

Commit 65e2bff

Browse files
committed
Remove net6 target
1 parent f55b859 commit 65e2bff

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
- Updated to `System.ClientModel` 1.5.1, which contains a fix for a concurrency bug which could cause some applications running on the legacy .NET Framework to experience an infinite loop while deserializing service responses.
88

9+
- Removed explicit `net6.0` target framework, as this version reached end-of-life in November, 2024 and is no longer maintained nor supported by Microsoft. This does not prevent using the OpenAI library on .NET 6, as the runtime will fallback to the `netstandard2.0` target.
10+
911
## 2.2.0 (2025-07-02)
1012

1113
### Features Added

src/OpenAI.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<VersionPrefix>2.2.0</VersionPrefix>
1212
<VersionSuffix></VersionSuffix>
1313

14-
<TargetFrameworks>net8.0;net6.0;netstandard2.0</TargetFrameworks>
14+
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
1515
<LangVersion>latest</LangVersion>
1616

1717
<!-- Generate an XML documentation file for the project. -->
@@ -84,10 +84,6 @@
8484
<PackageReference Include="System.ClientModel" Version="1.5.1" />
8585
</ItemGroup>
8686

87-
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
88-
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
89-
</PropertyGroup>
90-
9187
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
9288
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="8.0.1" />
9389
</ItemGroup>

0 commit comments

Comments
 (0)