diff --git a/Octokit.Tests.Conventions/Octokit.Tests.Conventions.csproj b/Octokit.Tests.Conventions/Octokit.Tests.Conventions.csproj
index 629a9c39f2..7f870ff27a 100644
--- a/Octokit.Tests.Conventions/Octokit.Tests.Conventions.csproj
+++ b/Octokit.Tests.Conventions/Octokit.Tests.Conventions.csproj
@@ -4,7 +4,7 @@
Convention-based tests for Octokit
Octokit.Tests.Conventions
GitHub
- netcoreapp2.1;net452
+ netcoreapp3.1;net452
$(NoWarn);CS4014;CS1998
Octokit.Tests.Conventions
Octokit.Tests.Conventions
diff --git a/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj b/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj
index 7e6c0b750e..29e43af0e7 100644
--- a/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj
+++ b/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj
@@ -4,7 +4,7 @@
Integration tests for Octokit
Octokit.Tests.Integration
GitHub
- netcoreapp2.1;net452
+ netcoreapp3.1;net452
$(NoWarn);CS4014;CS1998
Octokit.Tests.Integration
Octokit.Tests.Integration
@@ -19,7 +19,7 @@
false
-
+
$(DefineConstants);GITHUBJWT_HELPER_AVAILABLE
@@ -45,7 +45,7 @@
-
+
diff --git a/Octokit.Tests/Octokit.Tests.csproj b/Octokit.Tests/Octokit.Tests.csproj
index e59d0f2e50..d1f8f882eb 100644
--- a/Octokit.Tests/Octokit.Tests.csproj
+++ b/Octokit.Tests/Octokit.Tests.csproj
@@ -4,7 +4,7 @@
Tests for Octokit
Octokit.Tests
GitHub
- netcoreapp2.1;net452
+ netcoreapp3.0;net452
$(NoWarn);CS4014;CS1998
Octokit.Tests
Octokit.Tests
@@ -32,7 +32,7 @@
-
+
$(DefineConstants);NO_SERIALIZABLE;HAS_TYPEINFO
diff --git a/build/Build.csproj b/build/Build.csproj
index 0a9bb56631..070f4e1898 100644
--- a/build/Build.csproj
+++ b/build/Build.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp2.0
+ netcoreapp3.0
diff --git a/build/Context.cs b/build/Context.cs
index c6111a0850..dc5685f624 100644
--- a/build/Context.cs
+++ b/build/Context.cs
@@ -41,7 +41,7 @@ public DotNetCoreTestSettings GetTestSettings()
if (!this.IsRunningOnWindows())
{
- var testFramework = "netcoreapp2.1";
+ var testFramework = "netcoreapp3.1";
this.Information($"Running tests against {testFramework} only as we're not on Windows.");
settings.Framework = testFramework;
diff --git a/build/Tasks/CodeCoverage.cs b/build/Tasks/CodeCoverage.cs
index 1d9f0b81b8..e972a12116 100644
--- a/build/Tasks/CodeCoverage.cs
+++ b/build/Tasks/CodeCoverage.cs
@@ -21,13 +21,13 @@ public override void Run(Context context)
context.Information("Executing Code Coverage for Project {0}...", project.Name);
var dotNetCoreCoverage = context.CodeCoverage
- .CombineWithFilePath(project.Name + "-netcoreapp2.1.xml");
+ .CombineWithFilePath(project.Name + "-netcoreapp3.1.xml");
coverageFiles.Add(dotNetCoreCoverage);
context.Coverlet(project, new CoverletToolSettings()
{
Configuration = context.Configuration,
- Framework = "netcoreapp2.1",
+ Framework = "netcoreapp3.1",
Output = dotNetCoreCoverage.FullPath
});