Skip to content

Commit

Permalink
add net5.0 and drop netcoreapp2.x support
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKostousov committed Mar 10, 2021
1 parent 5a2a816 commit 366b7f1
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dist: xenial
sudo: false
language: csharp
dotnet: 3.1.200
dotnet: 5.0.103
matrix:
include:
- mono: none
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v3.4.x - 2021.03.10
- Add net5.0 support
- Drop netcoreapp2.x support

## v3.3.20 - 2021.02.25
- Adding MIT license file to nuget package

Expand Down
8 changes: 4 additions & 4 deletions GrEmit.Tests/GrEmit.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFrameworks>net45;netcoreapp2.0;netcoreapp2.1;netcoreapp2.2;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net45;netcoreapp3.1;net5.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Include="NUnit" Version="3.13.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions GrEmit/GrEmit.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<!-- todo (andrew, 21.02.2019): switch netcoreapp2.x targets to netstandard2.1 target when it will be released (see https://devblogs.microsoft.com/dotnet/announcing-net-standard-2-1/) -->
<TargetFrameworks>net45;netstandard2.0;netcoreapp2.1;netcoreapp2.2</TargetFrameworks>
<TargetFrameworks>net45;netstandard2.0;netstandard2.1</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>1701;1702;1705;1591</NoWarn>
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "3.1.200"
"version": "5.0.103"
}
}
4 changes: 2 additions & 2 deletions test-by-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ if [ ${DOTNETCORE} -eq 1 ]
then
dotnet restore ./GrEmit.sln --verbosity m
dotnet build --configuration Release --framework netstandard2.0 ./GrEmit/GrEmit.csproj
dotnet build --configuration Release --framework netcoreapp3.1 ./GrEmit.Tests/GrEmit.Tests.csproj
dotnet test --no-build --configuration Release --framework netcoreapp3.1 ./GrEmit.Tests/GrEmit.Tests.csproj
dotnet build --configuration Release --framework net5.0 ./GrEmit.Tests/GrEmit.Tests.csproj
dotnet test --no-build --configuration Release --framework net5.0 ./GrEmit.Tests/GrEmit.Tests.csproj
else
nuget install NUnit.ConsoleRunner -Version 3.9.0 -OutputDirectory testrunner
msbuild /t:Restore ./GrEmit.sln
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.3",
"version": "3.4",
"assemblyVersion": {
"precision": "build"
},
Expand Down

0 comments on commit 366b7f1

Please sign in to comment.