diff --git a/build/Build.cs b/build/Build.cs
index 37cbdfd..f09d8ee 100644
--- a/build/Build.cs
+++ b/build/Build.cs
@@ -10,9 +10,7 @@ using Nuke.Common.Tooling;
using Nuke.Common.Tools.DotNet;
using Nuke.Common.Tools.GitVersion;
using Nuke.Common.Utilities.Collections;
-using static Nuke.Common.EnvironmentInfo;
using static Nuke.Common.IO.FileSystemTasks;
-using static Nuke.Common.IO.PathConstruction;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
[CheckBuildProjectConfigurations]
@@ -32,7 +30,7 @@ class Build : NukeBuild
[Solution] readonly Solution Solution;
[GitRepository] readonly GitRepository GitRepository;
- [GitVersion(NoFetch = true, Framework = "netcoreapp3.1")] readonly GitVersion GitVersion;
+ [GitVersion(NoFetch = true, Framework = "net5.0")] readonly GitVersion GitVersion;
AbsolutePath SourceDirectory => RootDirectory / "src";
AbsolutePath TestsDirectory => RootDirectory / "tests";
diff --git a/build/_build.csproj b/build/_build.csproj
index fb5af99..4f38007 100644
--- a/build/_build.csproj
+++ b/build/_build.csproj
@@ -2,16 +2,16 @@
Exe
- netcoreapp3.1
CS0649;CS0169
..
..
+ net5.0
-
+
diff --git a/src/INetMock.Client/INetMock.Client.csproj b/src/INetMock.Client/INetMock.Client.csproj
index aa5a026..e20a5ff 100644
--- a/src/INetMock.Client/INetMock.Client.csproj
+++ b/src/INetMock.Client/INetMock.Client.csproj
@@ -5,19 +5,19 @@
latest
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
-
-
+
+
+
+
+
diff --git a/tests/INetMock.Client.Test/INetMock.Client.Test.csproj b/tests/INetMock.Client.Test/INetMock.Client.Test.csproj
index 2c926d6..f81850c 100644
--- a/tests/INetMock.Client.Test/INetMock.Client.Test.csproj
+++ b/tests/INetMock.Client.Test/INetMock.Client.Test.csproj
@@ -8,10 +8,16 @@
-
-
-
-
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+