Skip to content

Commit cdcef61

Browse files
Add conditional TargetFrameworks for testing previewUpdate target framework
1 parent f50ead9 commit cdcef61

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

tests/GeoJson/GeoJson.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
54
<ImplicitUsings>enable</ImplicitUsings>
65
<Nullable>enable</Nullable>
76
</PropertyGroup>
87

8+
<Choose>
9+
<When Condition="$(SIXLABORS_TESTING_PREVIEW) == true">
10+
<PropertyGroup>
11+
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
12+
</PropertyGroup>
13+
</When>
14+
<Otherwise>
15+
<PropertyGroup>
16+
<TargetFrameworks>net8.0</TargetFrameworks>
17+
</PropertyGroup>
18+
</Otherwise>
19+
</Choose>
20+
921
</Project>

0 commit comments

Comments
 (0)