Skip to content

Commit

Permalink
-- Reference System.Text.Json only for netstandard2.0. In .NET 8 alre…
Browse files Browse the repository at this point in the history
…ady included in runtime

-- Remove System.Net.Http: not used
-- Remove System.Net.Http.Json: not used
-- Update System.Text.Json from 8.0.3 to 8.0.4: Fix CVE-2024-30105
-- Update Azure.Core from 1.39.0 to 1.42.0
  • Loading branch information
SymbioticKilla committed Aug 15, 2024
1 parent 06ddda7 commit f61eff2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Serilog.Sinks.AzureLogAnalytics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@
<Version>$(Version)-$(VersionSuffix)</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Azure.Core" Version="1.39.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Azure.Core" Version="1.42.0" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.3" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Text.Json" Version="8.0.4" />
</ItemGroup>
</Project>

0 comments on commit f61eff2

Please sign in to comment.