diff --git a/build/Build.cs b/build/Build.cs
index cdedcdad..dd0c3464 100644
--- a/build/Build.cs
+++ b/build/Build.cs
@@ -80,22 +80,7 @@ class Build : NukeBuild
Target CompileNetFramework => _ => CompileDefinition(_, "net48");
- // Halibut itself targets net8.0 (minimum supported), so only build the test project for net10.0;
- // its project references are built for their own compatible target framework.
- // Once Halibut no longer targets net8.0 (i.e. it targets net10.0 again), revert this to:
- // Target CompileDotNet => _ => CompileDefinition(_, "net10.0");
- Target CompileDotNet => _ => _
- .DependsOn(Restore)
- .Executes(() =>
- {
- DotNetBuild(s => s
- .SetProjectFile(Solution.Halibut_Tests)
- .SetConfiguration(Configuration)
- .SetFramework("net10.0")
- .SetVersion(FullSemVer)
- .SetInformationalVersion(OctoVersionInfo.InformationalVersion)
- .EnableNoRestore());
- });
+ Target CompileDotNet => _ => CompileDefinition(_, "net10.0");
ITargetDefinition CompileDefinition(ITargetDefinition targetDefinition, [CanBeNull] string framework)
{
diff --git a/source/Halibut/Halibut.csproj b/source/Halibut/Halibut.csproj
index 0d5eb4b1..46b60807 100644
--- a/source/Halibut/Halibut.csproj
+++ b/source/Halibut/Halibut.csproj
@@ -19,10 +19,10 @@
enable
- net48;net8.0
+ net48;net10.0
- net8.0
+ net10.0
True
@@ -41,7 +41,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
$(DefineConstants);LIBLOG_PORTABLE;HAS_TCP_KEEP_ALIVE_SOCKET_OPTIONS