File tree Expand file tree Collapse file tree 4 files changed +42
-5
lines changed
ImageSharp.Tests.ProfilingSandbox Expand file tree Collapse file tree 4 files changed +42
-5
lines changed Original file line number Diff line number Diff line change 19
19
<PropertyGroup >
20
20
<Nullable >enable</Nullable >
21
21
<WarningsAsErrors >Nullable</WarningsAsErrors >
22
- <TargetFrameworks >net8.0</TargetFrameworks >
23
- <IsTrimmable >true</IsTrimmable >
24
22
</PropertyGroup >
25
23
26
24
<PropertyGroup >
27
25
<!-- Bump to v4.0 prior to tagged release.-->
28
26
<MinVerMinimumMajorMinor >4.0</MinVerMinimumMajorMinor >
29
27
</PropertyGroup >
30
28
29
+ <Choose >
30
+ <When Condition =" $(SIXLABORS_TESTING_PREVIEW) == true" >
31
+ <PropertyGroup >
32
+ <TargetFrameworks >net8.0;net9.0</TargetFrameworks >
33
+ <IsTrimmable >true</IsTrimmable >
34
+ </PropertyGroup >
35
+ </When >
36
+ <Otherwise >
37
+ <PropertyGroup >
38
+ <TargetFrameworks >net8.0</TargetFrameworks >
39
+ <IsTrimmable >true</IsTrimmable >
40
+ </PropertyGroup >
41
+ </Otherwise >
42
+ </Choose >
43
+
31
44
<ItemGroup >
32
45
<None Include =" ..\..\LICENSE" Pack =" true" PackagePath =" " />
33
46
<None Include =" ..\..\shared-infrastructure\branding\icons\imagesharp\sixlabors.imagesharp.128.png" Pack =" true" PackagePath =" " />
Original file line number Diff line number Diff line change 2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
4
4
<PropertyGroup >
5
- <TargetFrameworks >net8.0</TargetFrameworks >
6
5
<AssemblyName >ImageSharp.Benchmarks</AssemblyName >
7
6
<OutputType >Exe</OutputType >
8
7
<RootNamespace >SixLabors.ImageSharp.Benchmarks</RootNamespace >
21
20
<NoWarn >CA1822</NoWarn >
22
21
</PropertyGroup >
23
22
23
+ <Choose >
24
+ <When Condition =" $(SIXLABORS_TESTING_PREVIEW) == true" >
25
+ <PropertyGroup >
26
+ <TargetFrameworks >net8.0;net9.0</TargetFrameworks >
27
+ </PropertyGroup >
28
+ </When >
29
+ <Otherwise >
30
+ <PropertyGroup >
31
+ <TargetFrameworks >net8.0</TargetFrameworks >
32
+ </PropertyGroup >
33
+ </Otherwise >
34
+ </Choose >
35
+
24
36
<ItemGroup >
25
37
<Compile Include =" ..\ImageSharp.Tests\TestImages.cs" Link =" Tests\TestImages.cs" />
26
38
<Compile Include =" ..\ImageSharp.Tests\TestUtilities\TestEnvironment.cs" Link =" Tests\TestEnvironment.cs" />
Original file line number Diff line number Diff line change 2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
4
4
<PropertyGroup >
5
- <TargetFrameworks >net8.0</TargetFrameworks >
6
5
<AssemblyName >ImageSharp.Tests.ProfilingSandbox</AssemblyName >
7
6
<Description >A cross-platform library for processing of image files written in C#</Description >
8
7
<OutputType >Exe</OutputType >
17
16
<ValidateExecutableReferencesMatchSelfContained >false</ValidateExecutableReferencesMatchSelfContained >
18
17
</PropertyGroup >
19
18
19
+ <Choose >
20
+ <When Condition =" $(SIXLABORS_TESTING_PREVIEW) == true" >
21
+ <PropertyGroup >
22
+ <TargetFrameworks >net8.0;net9.0</TargetFrameworks >
23
+ </PropertyGroup >
24
+ </When >
25
+ <Otherwise >
26
+ <PropertyGroup >
27
+ <TargetFrameworks >net8.0</TargetFrameworks >
28
+ </PropertyGroup >
29
+ </Otherwise >
30
+ </Choose >
31
+
20
32
<ItemGroup >
21
33
<Compile Remove =" ..\ImageSharp.Tests\IO\LocalFileSystem.cs" />
22
34
<Compile Include =" ..\ImageSharp.Benchmarks\LoadResizeSave\LoadResizeSaveStressRunner.cs" Link =" LoadResizeSaveStressRunner.cs" />
Original file line number Diff line number Diff line change 22
22
</Otherwise >
23
23
</Choose >
24
24
25
- <ItemGroup >
25
+ <ItemGroup >
26
26
<InternalsVisibleTo Include =" ImageSharp.Tests.ProfilingSandbox" Key =" $(SixLaborsPublicKey)" />
27
27
</ItemGroup >
28
28
You can’t perform that action at this time.
0 commit comments