Skip to content

Commit 9cc5ff2

Browse files
authored
add net9.0
1 parent 418ce0e commit 9cc5ff2

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

tests/ImageSharp.Tests/ImageSharp.Tests.csproj

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,27 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
5-
<TargetFrameworks>net8.0</TargetFrameworks>
65
<DebugSymbols>True</DebugSymbols>
76
<AssemblyName>SixLabors.ImageSharp.Tests</AssemblyName>
87
<Platforms>AnyCPU;x64;x86;ARM64</Platforms>
98
<RootNamespace>SixLabors.ImageSharp.Tests</RootNamespace>
109
<Configurations>Debug;Release</Configurations>
1110
</PropertyGroup>
1211

13-
<ItemGroup>
12+
<Choose>
13+
<When Condition="$(SIXLABORS_TESTING_PREVIEW) == true">
14+
<PropertyGroup>
15+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
16+
</PropertyGroup>
17+
</When>
18+
<Otherwise>
19+
<PropertyGroup>
20+
<TargetFrameworks>net8.0</TargetFrameworks>
21+
</PropertyGroup>
22+
</Otherwise>
23+
</Choose>
24+
25+
<ItemGroup>
1426
<InternalsVisibleTo Include="ImageSharp.Tests.ProfilingSandbox" Key="$(SixLaborsPublicKey)" />
1527
</ItemGroup>
1628

0 commit comments

Comments
 (0)