diff --git a/.github/workflows/auto-pull-request-checks.yml b/.github/workflows/auto-pull-request-checks.yml
index 9884c1c6be1..a3f8a4f57f6 100644
--- a/.github/workflows/auto-pull-request-checks.yml
+++ b/.github/workflows/auto-pull-request-checks.yml
@@ -17,7 +17,7 @@ jobs:
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
- dotnet-version: 10.0.x
+ global-json-file: global.json
- name: Cache NuGet packages
uses: actions/cache@v4
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d6060be9b53..05ef1b0e101 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,7 +16,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
- dotnet-version: 10.0.x
+ global-json-file: global.json
- name: Cache NuGet packages
uses: actions/cache@v4
diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml
index b20fdb6f686..5acf38d3fd0 100644
--- a/.github/workflows/pack.yml
+++ b/.github/workflows/pack.yml
@@ -20,7 +20,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
- dotnet-version: 10.0.x
+ global-json-file: global.json
- name: Cache NuGet packages
uses: actions/cache@v4
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index c2789f8cc91..874a103eb6e 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -15,7 +15,7 @@ jobs:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
- dotnet-version: 10.0.x
+ global-json-file: global.json
- name: Publish wasm
run: |
diff --git a/Version.props b/Version.props
index a39d9af4200..ba81f4b13c8 100644
--- a/Version.props
+++ b/Version.props
@@ -1,8 +1,8 @@
- net10.0
- net6.0;net7.0;net8.0;net9.0;net10.0
+ net11.0
+ net6.0;net7.0;net8.0;net9.0;net10.0;net11.0
diff --git a/global.json b/global.json
new file mode 100644
index 00000000000..1752ec8cef2
--- /dev/null
+++ b/global.json
@@ -0,0 +1,7 @@
+{
+ "sdk": {
+ "version": "11.0.100-preview.7.26381.103",
+ "rollForward": "latestPatch",
+ "allowPrerelease": true
+ }
+}
diff --git a/src/BootstrapBlazor.Server/Dockerfile b/src/BootstrapBlazor.Server/Dockerfile
index 881334f77dc..645f4a4b5a3 100644
--- a/src/BootstrapBlazor.Server/Dockerfile
+++ b/src/BootstrapBlazor.Server/Dockerfile
@@ -1,7 +1,7 @@
#Depending on the operating system of the host machines(s) that will build or run the containers, the image specified in the FROM statement may need to be changed.
#For more information, please see https://aka.ms/containercompat
-FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
+FROM mcr.microsoft.com/dotnet/aspnet:11.0-preview AS base
WORKDIR /app
EXPOSE 8080
@@ -11,7 +11,7 @@ RUN apt install -y ./google-chrome-stable_current_amd64.deb
RUN rm ./google-chrome-stable_current_amd64.deb
RUN apt install -y fonts-wqy-microhei
-FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
+FROM mcr.microsoft.com/dotnet/sdk:11.0-preview AS build
WORKDIR /
COPY . .
diff --git a/src/BootstrapBlazor/Directory.Build.props b/src/BootstrapBlazor/Directory.Build.props
index 789d2c09dad..fb5000d7c6a 100644
--- a/src/BootstrapBlazor/Directory.Build.props
+++ b/src/BootstrapBlazor/Directory.Build.props
@@ -27,6 +27,7 @@
8.0.*
9.0.*
10.0.0
+ 11.0.0-preview*
@@ -75,7 +76,16 @@
-
+
+
+
+
+
+
+
+
+
+