Skip to content

Commit

Permalink
Target LTS - netcoreapp3.1 (#13)
Browse files Browse the repository at this point in the history
* Target LTS - netcoreapp3.1

* Die globaljson

* Update Mvc.Testing
  • Loading branch information
marcusturewicz committed Aug 29, 2021
1 parent 1c26d76 commit ad4f984
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
dotnet-version: 3.1.x
source-url: https://nuget.pkg.github.com/marcusturewicz/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ For example, it provides convenient abstractions for enforcing `DateTime` object

## Compatibility

Standards.AspNetCore currently targets .NET 5.0+.
Standards.AspNetCore currently targets .NET Core 3.1+. We follow the .NET Core support policy and therefore support only the LTS versions. When an LTS version goes out of support, we will update the major version of the library, drop support for the previous LTS version, and only target the next LTS version.

## Getting Started

Standards.AspNetCore is available as a [NuGet package](https://www.nuget.org/packages/Standards.AspNetCore). Install from nuget.org:

```
dotnet add package Standards.AspNetCore --version 1.0.0-alpha.3
dotnet add package Standards.AspNetCore --version 1.0.0-alpha.4
```

## Features
Expand Down
6 changes: 0 additions & 6 deletions global.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/Standards.AspNetCore/Standards.AspNetCore.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<PackageId>Standards.AspNetCore</PackageId>
<Authors>Marcus Turewicz</Authors>
<Description>Library of standards implemented to use in ASP.NET Core</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.9" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="3.1.18" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
Expand All @@ -20,9 +20,9 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Standards.AspNetCore\Standards.AspNetCore.csproj" />
<ProjectReference Include="..\Standards.AspNetCore.Tests.TestServer\Standards.AspNetCore.Tests.TestServer.csproj" />
<ItemGroup>
<ProjectReference Include="..\..\src\Standards.AspNetCore\Standards.AspNetCore.csproj" />
<ProjectReference Include="..\Standards.AspNetCore.Tests.TestServer\Standards.AspNetCore.Tests.TestServer.csproj" />
</ItemGroup>

</Project>

0 comments on commit ad4f984

Please sign in to comment.