Skip to content

Commit 603011e

Browse files
committed
Update build.fsproj to .NET 9
1 parent ffc07f9 commit 603011e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Diff for: build/build.fs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
open System
22
open System.Diagnostics
33
open System.IO
4-
open System.Text.RegularExpressions
54

65
open Fake.Core
76
open Fake.Core.TargetOperators
@@ -17,7 +16,7 @@ let description = Target.description
1716

1817
module FileReaderWriter =
1918
let Read file = File.ReadAllText(file)
20-
let Write file text = File.WriteAllText(file, text)
19+
let Write file (text: string) = File.WriteAllText(file, text)
2120
let TransformFile file target (f : string -> string) =
2221
Read file
2322
|> f

Diff for: build/build.fsproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<OutputPath>buildOutput</OutputPath>
77
</PropertyGroup>
@@ -14,9 +14,9 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="Microsoft.Build" Version="17.9.5" />
18-
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.9.5" />
19-
<PackageReference Include="MSBuild.StructuredLogger" Version="2.2.374" />
17+
<PackageReference Include="Microsoft.Build" Version="17.12.6" />
18+
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.12.6" />
19+
<PackageReference Include="MSBuild.StructuredLogger" Version="2.2.386" />
2020
<PackageReference Include="Fake.DotNet.Cli" Version="6.1.3" />
2121
<PackageReference Include="Fake.Core.Target" Version="6.1.3" />
2222
</ItemGroup>

0 commit comments

Comments
 (0)