Skip to content

Commit 1e8dcdc

Browse files
committed
target .net10
1 parent 7ea7fa3 commit 1e8dcdc

File tree

24 files changed

+160
-240
lines changed

24 files changed

+160
-240
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"paket": {
6-
"version": "9.0.2",
6+
"version": "10.0.0-alpha011",
77
"commands": [
88
"paket"
99
]

build/build.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ let initTargets () =
4747

4848
Target.create "Tests" <| fun _ ->
4949
let path = "src" </> "Suave.Tests"
50-
let res = DotNet.exec id "run" (sprintf "-c Release --framework net9.0 --project %s -- --summary --sequenced" path)
50+
let res = DotNet.exec id "run" (sprintf "-c Release --framework net10.0 --project %s -- --summary --sequenced" path)
5151
if not res.OK then
5252
res.Errors |> Seq.iter (eprintfn "%s")
5353
failwith "Tests failed."
5454

5555
// Requires `httperf` installed on the server (only linux atm)
5656
Target.create "Load" <| fun _ ->
5757
let path = "examples" </> "Pong"
58-
let res = DotNet.exec id "run" (sprintf "-c Release --framework net9.0 --project %s" path)
58+
let res = DotNet.exec id "run" (sprintf "-c Release --framework net10.0 --project %s" path)
5959
if not res.OK then
6060
res.Errors |> Seq.iter (eprintfn "%s")
6161
failwith "Tests failed."

examples/CORS/CORS.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFrameworks>net9.0</TargetFrameworks>
4+
<TargetFrameworks>net10.0</TargetFrameworks>
55
<OutputType>Exe</OutputType>
66
<AssemblyName>CORS</AssemblyName>
77
</PropertyGroup>

examples/Example/Example.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<AssemblyName>Example</AssemblyName>
77
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>

examples/Fibonacci/Fibonacci.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFrameworks>net9.0</TargetFrameworks>
4+
<TargetFrameworks>net10.0</TargetFrameworks>
55
<OutputType>Exe</OutputType>
66
<AssemblyName>Fibonacci</AssemblyName>
77
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>

examples/Load/Load.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFrameworks>net9.0</TargetFrameworks>
4+
<TargetFrameworks>net10.0</TargetFrameworks>
55
<OutputType>Exe</OutputType>
66
<AssemblyName>Load</AssemblyName>
77
</PropertyGroup>

examples/Pong/Pong.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<AssemblyName>Pong</AssemblyName>
77
</PropertyGroup>

examples/RateLimit/RateLimit.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

examples/RouterExample/RouterExample.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
</PropertyGroup>
66
<ItemGroup>
77
<Compile Include="Program.fs" />

examples/SecurityHeadersExample/SecurityHeadersExample.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
</PropertyGroup>
66
<ItemGroup>
77
<Compile Include="Program.fs" />

0 commit comments

Comments
 (0)