Skip to content

Commit f0d6dec

Browse files
committed
Only use .net8 in tests
1 parent cdd1ce2 commit f0d6dec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., '$(MSBuildThisFileName)$(MSBuildThisFileExtension)'))\$(MSBuildThisFileName)$(MSBuildThisFileExtension)" />
44

55
<PropertyGroup>
6+
<TargetFrameworks>net8.0</TargetFrameworks>
67
<IsTestProject>true</IsTestProject>
78
<IsPackable>false</IsPackable>
89
</PropertyGroup>

tests/Tingle.PeriodicTasks.AspNetCore.Tests/Tingle.PeriodicTasks.AspNetCore.Tests.csproj

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

33
<ItemGroup>
4-
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="7.0.0" Condition="'$(TargetFramework)' == 'net7.0'"/>
5-
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.0" Condition="'$(TargetFramework)' == 'net8.0'"/>
4+
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.0" />
65
</ItemGroup>
76

87
<ItemGroup>

0 commit comments

Comments
 (0)