Skip to content

Commit d6cbc58

Browse files
Upgrade from xUnit 2 to xUnit 3
Co-authored-by: bastianeicher <414366+bastianeicher@users.noreply.github.com>
1 parent 839b6b7 commit d6cbc58

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/UnitTests/UnitTests.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
<!-- Project properties -->
44
<PropertyGroup>
5+
<OutputType>Exe</OutputType>
56
<RootNamespace>TypedRest</RootNamespace>
67
<TargetFrameworks>net48;net10.0</TargetFrameworks>
78
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
89
<IsPackable>False</IsPackable>
910
<DeterministicSourcePaths>False</DeterministicSourcePaths>
11+
<NoWarn>xUnit1051;CS1591</NoWarn>
1012
</PropertyGroup>
1113
<PropertyGroup Condition="$(TargetFramework)=='net8.0'">
1214
<Nullable>enable</Nullable>
@@ -28,7 +30,7 @@
2830
<PackageReference Include="RichardSzalay.MockHttp" Version="7.0.0" />
2931
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.3" />
3032
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
31-
<PackageReference Include="xunit" Version="2.9.3" />
33+
<PackageReference Include="xunit.v3" Version="3.2.2" />
3234
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" />
3335
</ItemGroup>
3436

0 commit comments

Comments
 (0)