Skip to content

Commit f55b859

Browse files
committed
Add explicity AsyncInterfaces reference for
1 parent 39fb82c commit f55b859

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/OpenAI.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@
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+
8791
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
8892
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="8.0.1" />
8993
</ItemGroup>

0 commit comments

Comments
 (0)