Skip to content

Commit 00a3508

Browse files
ejsmithclaude
andcommitted
Upgrade to .NET 11 RC2
Target net11.0 with SDK 11.0.100-rc.2.26504.105 across projects, CI, Docker images, and dev tooling, and move framework-aligned packages to 11.0.0-rc.2. Microsoft.AspNetCore.OpenApi 11 requires Microsoft.OpenApi 3.x, so adapt the transformers to the media type interfaces and keep the published document on OpenAPI 3.1. Refresh Foundatio, test SDK, and time provider testing packages. Drop the Microsoft.Extensions.Logging.Abstractions reference now that it ships in the shared framework, and disable static web assets in the test project so the Web and Job dotnet-watch assets added in RC2 don't collide. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 74d9c50 commit 00a3508

24 files changed

Lines changed: 100 additions & 96 deletions

‎.codex/environments/environment.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ worktree_path="$PWD"
2222
echo "Setting up Exceptionless Aspire worktree: $worktree_path"
2323
2424
if ! command -v dotnet >/dev/null 2>&1; then
25-
echo "dotnet is not installed or not on PATH. Exceptionless requires .NET 10." >&2
25+
echo "dotnet is not installed or not on PATH. Exceptionless requires .NET 11." >&2
2626
exit 1
2727
fi
2828

‎.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"version": "latest"
6767
},
6868
"ghcr.io/devcontainers/features/dotnet:2": {
69-
"version": "10.0"
69+
"version": "11.0-preview"
7070
},
7171
"ghcr.io/devcontainers/features/node:1": {
7272
"nodeGypDependencies": true,

‎.github/workflows/build-arm64.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup .NET Core
2626
uses: actions/setup-dotnet@v6
2727
with:
28-
dotnet-version: 10.0.402
28+
dotnet-version: 11.0.100-rc.2.26504.105
2929
- name: Build Reason
3030
env:
3131
GITHUB_EVENT: ${{ toJson(github) }}

‎.github/workflows/build.yaml‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
- name: Setup .NET Core
115115
uses: actions/setup-dotnet@v6
116116
with:
117-
dotnet-version: 10.0.402
117+
dotnet-version: 11.0.100-rc.2.26504.105
118118

119119
- name: Version
120120
id: version
@@ -156,7 +156,7 @@ jobs:
156156
- name: Setup .NET Core
157157
uses: actions/setup-dotnet@v6
158158
with:
159-
dotnet-version: 10.0.402
159+
dotnet-version: 11.0.100-rc.2.26504.105
160160

161161
- uses: actions/cache@v6
162162
with:
@@ -215,7 +215,7 @@ jobs:
215215
- name: Setup .NET Core
216216
uses: actions/setup-dotnet@v6
217217
with:
218-
dotnet-version: 10.0.402
218+
dotnet-version: 11.0.100-rc.2.26504.105
219219

220220
- name: Merge coverage
221221
run: |
@@ -327,8 +327,7 @@ jobs:
327327
- name: Setup .NET Core
328328
uses: actions/setup-dotnet@v6
329329
with:
330-
dotnet-version: 10.0.402
331-
dotnet-quality: ga
330+
dotnet-version: 11.0.100-rc.2.26504.105
332331

333332
- name: Install Aspire CLI
334333
run: |

‎.github/workflows/copilot-setup-steps.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup .NET Core
2626
uses: actions/setup-dotnet@v6
2727
with:
28-
dotnet-version: 10.0.402
28+
dotnet-version: 11.0.100-rc.2.26504.105
2929

3030
- name: Install Aspire CLI
3131
run: |

‎.github/workflows/elasticsearch-docker-8.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET Core
1717
uses: actions/setup-dotnet@v6
1818
with:
19-
dotnet-version: 10.0.402
19+
dotnet-version: 11.0.100-rc.2.26504.105
2020
- name: Build Reason
2121
env:
2222
GITHUB_EVENT: ${{ toJson(github) }}

‎.vscode/launch.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"type": "coreclr",
1313
"request": "launch",
1414
"preLaunchTask": "build",
15-
"program": "${workspaceFolder}/src/Exceptionless.Web/bin/Debug/net10.0/Exceptionless.Web.dll",
15+
"program": "${workspaceFolder}/src/Exceptionless.Web/bin/Debug/net11.0/Exceptionless.Web.dll",
1616
"args": [],
1717
"cwd": "${workspaceFolder}/src/Exceptionless.Web",
1818
"stopAtEntry": false,
@@ -29,7 +29,7 @@
2929
"type": "coreclr",
3030
"request": "launch",
3131
"preLaunchTask": "build",
32-
"program": "${workspaceFolder}/src/Exceptionless.Job/bin/Debug/net10.0/Exceptionless.Job.dll",
32+
"program": "${workspaceFolder}/src/Exceptionless.Job/bin/Debug/net11.0/Exceptionless.Job.dll",
3333
"args": [],
3434
"cwd": "${workspaceFolder}",
3535
"stopAtEntry": false,

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Exceptionless
22

3-
Real-time error monitoring platform on .NET 10, Aspire, and Svelte 5. Keep changes readable, narrow, and backwards compatible.
3+
Real-time error monitoring platform on .NET 11, Aspire, and Svelte 5. Keep changes readable, narrow, and backwards compatible.
44

55
This file is root-scope agent guidance. When working in a subtree, read any nested `AGENTS.md` there too. Prefer nearby repo skills for detailed backend, frontend, testing, repository, and dogfood workflows.
66

‎Dockerfile‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:10.0.402 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:11.0.100-rc.2 AS build
22
ARG MinVerVersionOverride
33
WORKDIR /app
44

@@ -40,7 +40,7 @@ RUN dotnet publish -c Release -o out --no-build
4040

4141
# job
4242

43-
FROM mcr.microsoft.com/dotnet/aspnet:10.0.13 AS job
43+
FROM mcr.microsoft.com/dotnet/aspnet:11.0.0-rc.2 AS job
4444
WORKDIR /app
4545
COPY --from=job-publish /app/src/Exceptionless.Job/out ./
4646

@@ -59,7 +59,7 @@ RUN dotnet publish -c Release -o out --no-build /p:SkipSpaPublish=true
5959

6060
# api
6161

62-
FROM mcr.microsoft.com/dotnet/aspnet:10.0.13 AS api
62+
FROM mcr.microsoft.com/dotnet/aspnet:11.0.0-rc.2 AS api
6363
WORKDIR /app
6464
COPY --from=api-publish /app/src/Exceptionless.Web/out ./
6565

@@ -77,7 +77,7 @@ RUN dotnet publish -c Release -o out --no-build
7777

7878
# app
7979

80-
FROM mcr.microsoft.com/dotnet/aspnet:10.0.13 AS app
80+
FROM mcr.microsoft.com/dotnet/aspnet:11.0.0-rc.2 AS app
8181

8282
WORKDIR /app
8383
COPY --from=app-publish /app/src/Exceptionless.Web/out ./
@@ -145,7 +145,7 @@ USER elasticsearch
145145

146146
RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && \
147147
chmod +x dotnet-install.sh && \
148-
./dotnet-install.sh --version 10.0.13 --runtime aspnetcore && \
148+
./dotnet-install.sh --version 11.0.0-rc.2.26504.105 --runtime aspnetcore && \
149149
rm dotnet-install.sh
150150

151151
EXPOSE 8080 9200

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ _In appreciation for anyone who submits a non-trivial pull request, we will give
3131
Start here:
3232

3333
1. Read the [contributing document](https://github.com/exceptionless/Exceptionless/blob/main/CONTRIBUTING.md).
34-
2. Install [Docker](https://www.docker.com/get-docker), [.NET 10.0](https://dotnet.microsoft.com/), and [Node 24+](https://nodejs.org/).
34+
2. Install [Docker](https://www.docker.com/get-docker), [.NET 11.0](https://dotnet.microsoft.com/), and [Node 24+](https://nodejs.org/).
3535
3. Run the app with one of these entry points:
3636
- Visual Studio Code: open the repo root and start the `Aspire` launch configuration.
3737
- Visual Studio: open `Exceptionless.slnx`, set `Exceptionless.AppHost` as the startup project, and run it.

0 commit comments

Comments
 (0)