diff --git a/build/Build.cs b/build/Build.cs index 4c8423a..0d9f519 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -23,7 +23,7 @@ class Build : NukeBuild readonly bool AutoDetectBranch = IsLocalBuild; [OctoVersion(UpdateBuildNumber = true, BranchParameter = nameof(BranchName), - AutoDetectBranchParameter = nameof(AutoDetectBranch), Framework = "net6.0")] + AutoDetectBranchParameter = nameof(AutoDetectBranch), Framework = "net8.0")] readonly OctoVersionInfo OctoVersionInfo; AbsolutePath SourceDirectory => RootDirectory / "source"; diff --git a/build/_build.csproj b/build/_build.csproj index f11e0fe..abbcb2b 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 CS0649;CS0169 .. .. diff --git a/global.json b/global.json index 1388a0d..ba341c5 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "6.0.301", + "version": "8.0.401", "rollForward": "latestFeature" } } diff --git a/source/Tests/Tests.csproj b/source/Tests/Tests.csproj index 0697201..bb43878 100644 --- a/source/Tests/Tests.csproj +++ b/source/Tests/Tests.csproj @@ -3,7 +3,7 @@ Tests Tests - net6.0 + net8.0 enable true