From 69263a66ae4493c46f76f6130186e4199ad47496 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 16 Feb 2021 10:01:08 +0100 Subject: [PATCH] Update deps --- build/Build.cs | 4 +--- build/_build.csproj | 4 ++-- src/INetMock.Client/INetMock.Client.csproj | 16 ++++++++-------- .../INetMock.Client.Test.csproj | 14 ++++++++++---- 4 files changed, 21 insertions(+), 17 deletions(-) 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 +