Skip to content

Commit 155153e

Browse files
committed
chore: update nuget package versions
1 parent f68cc31 commit 155153e

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

Refit.Tests/Refit.Tests.csproj

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<Import Project="..\Refit\targets\refit.props" />
4-
4+
55
<PropertyGroup>
66
<TargetFrameworks>net462;net6.0;net8.0</TargetFrameworks>
7-
<Deterministic>false</Deterministic> <!-- Some tests rely on CallerFilePath -->
7+
<Deterministic>false</Deterministic>
8+
<!-- Some tests rely on CallerFilePath -->
89
<RestoreAdditionalProjectSources>https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json</RestoreAdditionalProjectSources>
910
<NoWarn>$(NoWarn);CS1591;CA1819;CA2000;CA2007;CA1056;CA1707;CA1861;xUnit1031</NoWarn>
1011
</PropertyGroup>
@@ -13,15 +14,23 @@
1314
<EmbeddedResource Include="Test Files\Test.pdf" />
1415
</ItemGroup>
1516

17+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
18+
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="8.0.10" />
19+
</ItemGroup>
20+
21+
<ItemGroup Condition="'$(TargetFramework)' != 'net8.0'">
22+
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="2.2.0" />
23+
</ItemGroup>
24+
1625
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0' or '$(TargetFramework)' == 'net8.0'">
1726
<PackageReference Include="PublicApiGenerator" Version="*" />
1827
<PackageReference Include="Verify.Xunit" Version="*" />
1928
</ItemGroup>
20-
29+
2130
<ItemGroup>
2231
<PackageReference Include="coverlet.msbuild" Version="6.0.2" />
2332
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
24-
<PackageReference Include="xunit" Version="2.9.0" />
33+
<PackageReference Include="xunit" Version="2.9.2" />
2534
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
2635
<PackageReference Include="System.Reactive" Version="6.0.1" />
2736
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="2.2.0" />

Refit/Refit.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'net462'">
12-
<PackageReference Include="System.Text.Json" Version="8.0.4" />
13-
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
12+
<PackageReference Include="System.Text.Json" Version="8.0.5" />
13+
<PackageReference Include="System.Net.Http.Json" Version="8.0.1" />
1414
</ItemGroup>
1515

1616
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">

0 commit comments

Comments
 (0)