Skip to content

Commit 7ce1be9

Browse files
Update to xunit.v3 and target .NET 10 for test project
Upgraded xunit.v3 to version 3.2.2 and replaced the xunit reference with xunit.v3 in the test project. Changed the test project's target framework from net9.0 to net10.0.
1 parent a171c0c commit 7ce1be9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@
136136
<PackageVersion Include="xunit" Version="2.9.3" />
137137
<PackageVersion Include="xunit.analyzers" Version="1.21.0" />
138138
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
139-
<PackageVersion Include="xunit.v3" Version="2.0.2" />
139+
<PackageVersion Include="xunit.v3" Version="3.2.2" />
140140
</ItemGroup>
141141
</Project>

src/services/common/Codebreaker.GameAPIs.Analyzers.Tests/Codebreaker.GameAPIs.Analyzers.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

@@ -12,7 +12,7 @@
1212
<ItemGroup>
1313
<PackageReference Include="Microsoft.NET.Test.Sdk" />
1414
<PackageReference Include="Moq" />
15-
<PackageReference Include="xunit" />
15+
<PackageReference Include="xunit.v3" />
1616
<PackageReference Include="xunit.runner.visualstudio">
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)