Skip to content

Commit

Permalink
Remove support for Net. 5 & .NET Core 3.1 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitii authored Jun 12, 2022
1 parent 772ce9e commit 94dfd81
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
- name: Decode the Pfx
run: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
include-prerelease: true
- name: Decode the Pfx
Expand Down
2 changes: 1 addition & 1 deletion Community.Wsl.Sdk.Tests/Community.Wsl.Sdk.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<SignAssembly>True</SignAssembly>
Expand Down
4 changes: 2 additions & 2 deletions Community.Wsl.Sdk/Community.Wsl.Sdk.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.1;net5.0-windows;net6.0-windows</TargetFrameworks>
<TargetFrameworks>net6.0-windows</TargetFrameworks>
<SupportedOSPlatform>windows</SupportedOSPlatform>
<Description>SDK for Windows Subsystem for Linux for .NET 5, 6 and Standard 2.1</Description>
<Description>SDK for Windows Subsystem for Linux for .NET 6</Description>
<Copyright>(c) 2021 Gitii</Copyright>
<PackageProjectUrl>https://github.com/Gitii/community.wsl.sdk</PackageProjectUrl>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
Expand Down
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ features into existing Windows applications. You can enumerate, query, executing

## Supported frameworks

- .NET Standard 2.1
- .Net 5
- .Net 6

## Supported Operating Systems
Expand Down Expand Up @@ -131,4 +129,15 @@ Breaking changes:

* Changed namespace `Community.Wsl.Sdk.Strategies.Command` to `Community.Wsl.Sdk.Strategies.Commands`

Please use the managed api (`Managed{WslApi,Command}`). It has the same features and is easier to use.
Please use the managed api (`Managed{WslApi,Command}`). It has the same features and is easier to use.

# Migrate from v2 to v3

Breaking changes:

* Support for Net. 5 has been removed. Net. 5 is [out of support since May 10, 2022](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core).
* Support for .NET Core 3.1 has been removed. .NET Core 3.1 will be [out of support after December 13, 2022](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core).


Please upgrade to a newer .NET and .NET Core runtime version.
The minimum supported Net. version is Net. 6.
2 changes: 1 addition & 1 deletion generate-coverage.cmd
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dotnet test /p:TargetFramework=net6.0 /p:CollectCoverage=true /p:Exclude=\"[Community.Wsl.Sdk.Tests]*\" /p:CoverletOutput=../CoverageResults/ /p:MergeWith="../CoverageResults/coverage.net6.0.json" /p:CoverletOutputFormat=\"cobertura,json\" /p:ThresholdType=\"line,branch,method\" -m:1
dotnet test /p:TargetFramework=net6.0-windows /p:CollectCoverage=true /p:Exclude=\"[Community.Wsl.Sdk.Tests]*\" /p:CoverletOutput=../CoverageResults/ /p:MergeWith="../CoverageResults/coverage.net6.0.json" /p:CoverletOutputFormat=\"cobertura,json\" /p:ThresholdType=\"line,branch,method\" -m:1

2 changes: 1 addition & 1 deletion generate-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

set -e

dotnet test /p:TargetFramework=net6.0 /p:CollectCoverage=true /p:Exclude=\"[Community.Wsl.Sdk.Tests]*\" /p:CoverletOutput=../CoverageResults/ /p:MergeWith="../CoverageResults/coverage.net6.0.json" /p:CoverletOutputFormat=\"cobertura,json\" /p:ThresholdType=\"line,branch,method\" -m:1
dotnet test /p:TargetFramework=net6.0-windows /p:CollectCoverage=true /p:Exclude=\"[Community.Wsl.Sdk.Tests]*\" /p:CoverletOutput=../CoverageResults/ /p:MergeWith="../CoverageResults/coverage.net6.0.json" /p:CoverletOutputFormat=\"cobertura,json\" /p:ThresholdType=\"line,branch,method\" -m:1

0 comments on commit 94dfd81

Please sign in to comment.