Skip to content

Commit 4e9e262

Browse files
Updated target frameworks
1 parent 5ca9a8d commit 4e9e262

3 files changed

Lines changed: 26 additions & 12 deletions

File tree

src/ImageSharp.Web.Providers.AWS/ImageSharp.Web.Providers.AWS.csproj

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,18 @@
1313
<Description>A provider for resolving and caching images via AWS S3 Storage.</Description>
1414
</PropertyGroup>
1515

16-
<PropertyGroup>
17-
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1;netcoreapp2.1</TargetFrameworks>
18-
</PropertyGroup>
16+
<Choose>
17+
<When Condition="$(SIXLABORS_TESTING) == true">
18+
<PropertyGroup>
19+
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1;netcoreapp2.1</TargetFrameworks>
20+
</PropertyGroup>
21+
</When>
22+
<Otherwise>
23+
<PropertyGroup>
24+
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1</TargetFrameworks>
25+
</PropertyGroup>
26+
</Otherwise>
27+
</Choose>
1928

2029
<ItemGroup>
2130
<None Include="..\..\shared-infrastructure\branding\icons\imagesharp.web\sixlabors.imagesharp.web.128.png" Pack="true" PackagePath="" />

src/ImageSharp.Web.Providers.Azure/ImageSharp.Web.Providers.Azure.csproj

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,25 @@
1111
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
1212
<PackageTags>Image Middleware Resize Crop Gif Jpg Jpeg Bitmap Png Azure</PackageTags>
1313
<Description>A provider for resolving and caching images via Azure Blob Storage.</Description>
14-
</PropertyGroup>
15-
16-
<PropertyGroup>
17-
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1;netcoreapp2.1</TargetFrameworks>
1814
</PropertyGroup>
1915

16+
<Choose>
17+
<When Condition="$(SIXLABORS_TESTING) == true">
18+
<PropertyGroup>
19+
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1;netcoreapp2.1</TargetFrameworks>
20+
</PropertyGroup>
21+
</When>
22+
<Otherwise>
23+
<PropertyGroup>
24+
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1</TargetFrameworks>
25+
</PropertyGroup>
26+
</Otherwise>
27+
</Choose>
28+
2029
<ItemGroup>
2130
<None Include="..\..\shared-infrastructure\branding\icons\imagesharp.web\sixlabors.imagesharp.web.128.png" Pack="true" PackagePath="" />
2231
</ItemGroup>
23-
32+
2433
<ItemGroup>
2534
<PackageReference Include="Azure.Storage.Blobs" />
2635
</ItemGroup>

src/ImageSharp.Web/ImageSharp.Web.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
<Description>ImageSharp Middleware for serving images via a url based API.</Description>
1414
</PropertyGroup>
1515

16-
<PropertyGroup>
17-
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1;netcoreapp2.1</TargetFrameworks>
18-
</PropertyGroup>
19-
2016
<Choose>
2117
<When Condition="$(SIXLABORS_TESTING) == true">
2218
<PropertyGroup>

0 commit comments

Comments
 (0)