Skip to content

Commit 9f13cd8

Browse files
committed
re-enable VSTest for net6/net7
1 parent 7ad3512 commit 9f13cd8

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/Doc/Doc.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
<PrivateAssets>all</PrivateAssets>
2020
</PackageReference>
21+
<!-- this is the last version with net6 support -->
22+
<PackageReference Include="xunit.runner.visualstudio" Condition="'$(TargetFramework)' == 'net6.0' or '$(TargetFramework)' == 'net7.0'" VersionOverride="3.0.2">
23+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
24+
<PrivateAssets>all</PrivateAssets>
25+
</PackageReference>
2126
<PackageReference Include="StackExchange.Redis"/>
2227
</ItemGroup>
2328
<ItemGroup>

tests/NRedisStack.Tests/NRedisStack.Tests.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2828
<PrivateAssets>all</PrivateAssets>
2929
</PackageReference>
30+
<!-- this is the last version with net6 support -->
31+
<PackageReference Include="xunit.runner.visualstudio" Condition="'$(TargetFramework)' == 'net6.0' or '$(TargetFramework)' == 'net7.0'" VersionOverride="3.0.2">
32+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
33+
<PrivateAssets>all</PrivateAssets>
34+
</PackageReference>
3035
<PackageReference Include="StackExchange.Redis"/>
3136
<PackageReference Include="xunit"/>
3237
<PackageReference Include="xunit.assert"/>

0 commit comments

Comments
 (0)