From 603011e3f31ad79acb81f9ac1f3959210567b370 Mon Sep 17 00:00:00 2001 From: Romfos Date: Sat, 30 Nov 2024 10:46:32 +0100 Subject: [PATCH] Update build.fsproj to .NET 9 --- build/build.fs | 3 +-- build/build.fsproj | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/build/build.fs b/build/build.fs index 3d6250cc..e7c4b15f 100644 --- a/build/build.fs +++ b/build/build.fs @@ -1,7 +1,6 @@ open System open System.Diagnostics open System.IO -open System.Text.RegularExpressions open Fake.Core open Fake.Core.TargetOperators @@ -17,7 +16,7 @@ let description = Target.description module FileReaderWriter = let Read file = File.ReadAllText(file) - let Write file text = File.WriteAllText(file, text) + let Write file (text: string) = File.WriteAllText(file, text) let TransformFile file target (f : string -> string) = Read file |> f diff --git a/build/build.fsproj b/build/build.fsproj index 4f3604de..f46710b0 100644 --- a/build/build.fsproj +++ b/build/build.fsproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 Exe buildOutput @@ -14,9 +14,9 @@ - - - + + +