diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 758a29ed6..84f8e8310 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -136,7 +136,7 @@ jobs:
- name: Setup .NET 8 SDK
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0
with:
- dotnet-version: 8.0.x
+ dotnet-version: 11.0.x
- name: Setup .NET SDK
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 5d872271f..3f0c4628e 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -6,7 +6,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
- "program": "${workspaceFolder}/src/AdventOfCode.Site/bin/Debug/net10.0/AdventOfCode.Site.dll",
+ "program": "${workspaceFolder}/src/AdventOfCode.Site/bin/Debug/net11.0/AdventOfCode.Site.dll",
"args": [],
"cwd": "${workspaceFolder}/src/AdventOfCode.Site",
"stopAtEntry": false,
diff --git a/.vsconfig b/.vsconfig
index 4f1026cce..1290e09b2 100644
--- a/.vsconfig
+++ b/.vsconfig
@@ -1,7 +1,7 @@
{
"version": "1.0",
"components": [
- "Microsoft.NetCore.Component.Runtime.10.0",
+ "Microsoft.NetCore.Component.Runtime.11.0",
"Microsoft.NetCore.Component.SDK",
"Microsoft.VisualStudio.Component.CoreEditor",
"Microsoft.VisualStudio.Component.JavaScript.Diagnostics",
diff --git a/Directory.Build.props b/Directory.Build.props
index 2042b211d..d54fa27ca 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -3,7 +3,9 @@
false
true
$(MSBuildThisFileDirectory)AdventOfCode.ruleset
+ $(Features);runtime-async=on
false
+ preview
true
$(NoWarn);CS1591
false
diff --git a/Directory.Packages.props b/Directory.Packages.props
index cbc8b058b..0e73a5798 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -7,16 +7,16 @@
-
+
-
-
-
+
+
+
-
+
diff --git a/NuGet.config b/NuGet.config
index 38ac8e75e..e432e5131 100644
--- a/NuGet.config
+++ b/NuGet.config
@@ -2,9 +2,13 @@
+
+
+
+
diff --git a/crank.yml b/crank.yml
index 80e352ce6..fe5acb7dc 100644
--- a/crank.yml
+++ b/crank.yml
@@ -26,14 +26,14 @@ jobs:
scenarios:
microbenchmarks:
application:
- framework: net10.0
+ framework: net11.0
job: microbenchmarks
root:
application:
- framework: net10.0
+ framework: net11.0
job: server
load:
- framework: net10.0
+ framework: net11.0
job: bombardier
variables:
serverPort: 5000
diff --git a/global.json b/global.json
index 343517d8f..9eae90ca6 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
- "version": "10.0.301",
+ "version": "11.0.100-preview.5.26302.115",
"allowPrerelease": false,
"paths": [ ".dotnet", "$host$" ],
"errorMessage": "The required version of the .NET SDK could not be found. Please run ./build.ps1 to bootstrap the .NET SDK."
diff --git a/src/AdventOfCode.Console/AdventOfCode.Console.csproj b/src/AdventOfCode.Console/AdventOfCode.Console.csproj
index 3aea583ad..f1e75ce5e 100644
--- a/src/AdventOfCode.Console/AdventOfCode.Console.csproj
+++ b/src/AdventOfCode.Console/AdventOfCode.Console.csproj
@@ -5,7 +5,7 @@
Speed
Exe
MartinCostello.AdventOfCode.Console
- net10.0
+ net11.0
diff --git a/src/AdventOfCode.Resources/AdventOfCode.Resources.csproj b/src/AdventOfCode.Resources/AdventOfCode.Resources.csproj
index 25054ae56..f88954648 100644
--- a/src/AdventOfCode.Resources/AdventOfCode.Resources.csproj
+++ b/src/AdventOfCode.Resources/AdventOfCode.Resources.csproj
@@ -4,7 +4,7 @@
true
Library
MartinCostello.AdventOfCode
- net10.0
+ net11.0
diff --git a/src/AdventOfCode.Site/AdventOfCode.Site.csproj b/src/AdventOfCode.Site/AdventOfCode.Site.csproj
index df5c6a3ad..2c761f82a 100644
--- a/src/AdventOfCode.Site/AdventOfCode.Site.csproj
+++ b/src/AdventOfCode.Site/AdventOfCode.Site.csproj
@@ -11,7 +11,7 @@
Exe
true
MartinCostello.AdventOfCode.Site
- net10.0
+ net11.0
true
latest
diff --git a/src/AdventOfCode.Site/aws-lambda-tools-defaults.json b/src/AdventOfCode.Site/aws-lambda-tools-defaults.json
index 7666bff48..971bd51a3 100644
--- a/src/AdventOfCode.Site/aws-lambda-tools-defaults.json
+++ b/src/AdventOfCode.Site/aws-lambda-tools-defaults.json
@@ -2,7 +2,7 @@
"region": "eu-west-2",
"profile": "",
"configuration": "Release",
- "framework": "net10.0",
+ "framework": "net11.0",
"function-architecture": "arm64",
"function-description": "The Advent of Code as a Service function.",
"function-handler": "AdventOfCode.Site",
diff --git a/src/AdventOfCode/AdventOfCode.csproj b/src/AdventOfCode/AdventOfCode.csproj
index 2f4e8540a..9a8634ff1 100644
--- a/src/AdventOfCode/AdventOfCode.csproj
+++ b/src/AdventOfCode/AdventOfCode.csproj
@@ -6,7 +6,7 @@
$(NoWarn);CA1034;CA2007;CA2225;CA5351
Library
MartinCostello.AdventOfCode
- net10.0
+ net11.0
diff --git a/src/AdventOfCode/PuzzleResult.cs b/src/AdventOfCode/PuzzleResult.cs
index d245b42f7..c6fef42ff 100644
--- a/src/AdventOfCode/PuzzleResult.cs
+++ b/src/AdventOfCode/PuzzleResult.cs
@@ -11,12 +11,12 @@ public sealed class PuzzleResult
///
/// Gets the solution(s) to the puzzle.
///
- public IList