Skip to content

Commit

Permalink
Upgraded to .net 6
Browse files Browse the repository at this point in the history
  • Loading branch information
AnderssonPeter committed Sep 7, 2022
1 parent ebc81c5 commit 8fa0057
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup .NET5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.*
dotnet-version: 6.0.*
- name: Install dependencies
run: dotnet restore --verbosity normal
- name: Build
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;</TargetFrameworks>
<TargetFrameworks>net6.0;</TargetFrameworks>
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net5.0' ">
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="5.0.17" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="6.0.8" />
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
7 changes: 5 additions & 2 deletions CompressedStaticFiles/CompressedStaticFiles.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<Version>2.1.0</Version>
<Authors>Peter Andersson;Andrey Kudashkin;Mathias Raacke,Arian Kadkhoda, Ilya Palkin</Authors>
<Company>Peter Andersson;Andrey Kudashkin;Mathias Raacke,Arian Kadkhoda, Ilya Palkin</Company>
Expand All @@ -10,8 +10,11 @@
<PackageProjectUrl>https://github.com/AnderssonPeter/CompressedStaticFiles</PackageProjectUrl>
<PackageTags>aspnetcore;staticfiles;compression;precompressed;gzip;brotli;zopfli;webp;avif;</PackageTags>
<PackageReleaseNotes>2.1.0
Removed support for .net 3.1
Added support for space in filenames
Added support for RequestPath
Added support for .net 6.0
Removed support for .net 5.0
Removed support for .net 3.1
2.0.0
Added support for alternative image formats
Added support for .net 5
Expand Down
2 changes: 1 addition & 1 deletion Example/Example.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFrameworks>net5.0;</TargetFrameworks>
<TargetFrameworks>net6.0;</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Example/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h3 class="masthead-brand">Cover</h3>
<main role="main" class="inner cover">
<img src="icon.png" id="logo" />
<h1 class="cover-heading">Test page.</h1>
<p class="lead">Sample page to test the nuget package CompressedStaticFiles for ASP.NET Core 3.1 and ASP.NET 5</p>
<p class="lead">Sample page to test the nuget package CompressedStaticFiles for ASP.NET 6</p>
<p class="lead">
<a href="https://www.nuget.org/packages/CompressedStaticFiles/" class="btn btn-lg btn-secondary">nuget package</a>
</p>
Expand Down

0 comments on commit 8fa0057

Please sign in to comment.