Skip to content

Commit e36659e

Browse files
#348 optimise dependencies (#443)
1 parent 8a90259 commit e36659e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/OpenAI.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@
8686
<ItemGroup>
8787
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
8888
<PackageReference Include="System.ClientModel" Version="1.2.1" />
89-
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="6.0.1" />
9089
<PackageReference Update="Microsoft.Bcl.Numerics" Version="8.0.0" />
9190
</ItemGroup>
91+
92+
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
93+
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="6.0.1" />
94+
</ItemGroup>
9295
</Project>

0 commit comments

Comments
 (0)