Skip to content

Commit e737e71

Browse files
Copilotrnwood
andauthored
fix(docs): update .NET 8 requirement references to .NET 10 (#2093)
* Initial plan * Update .NET 8 references to .NET 10 across docs and config files Co-authored-by: rnwood <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: rnwood <[email protected]>
1 parent 5a44447 commit e737e71

7 files changed

Lines changed: 21 additions & 21 deletions

File tree

.devcontainer/installcustom.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
sudo apt update
33
sudo apt install -y telnet curl
44

5-
# Install .NET 8.0 SDK (as specified in AGENTS.md: tested with 8.0.119)
5+
# Install .NET 10.0 SDK
66
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
77
echo "deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/microsoft-prod.gpg] https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm main" | sudo tee /etc/apt/sources.list.d/microsoft-prod.list
88
sudo apt update
9-
sudo apt install -y dotnet-sdk-8.0
9+
sudo apt install -y dotnet-sdk-10.0
1010

1111
# Install Node.js 20.x and npm (as specified in AGENTS.md)
1212
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "coreclr",
1010
"request": "launch",
1111
// If you have changed target frameworks, make sure to update the program path.
12-
"program": "${workspaceFolder}/Rnwood.Smtp4dev/bin/Debug/net8.0/Rnwood.Smtp4dev.dll",
12+
"program": "${workspaceFolder}/Rnwood.Smtp4dev/bin/Debug/net10.0/Rnwood.Smtp4dev.dll",
1313
"cwd": "${workspaceFolder}/Rnwood.Smtp4dev",
1414
"args": ["--recreatedb", "--urls", "http://localhost:5000", "--debugsettings"],
1515
"stopAtEntry": false,
@@ -25,7 +25,7 @@
2525
"type": "coreclr",
2626
"request": "launch",
2727
// If you have changed target frameworks, make sure to update the program path.
28-
"program": "${workspaceFolder}/Rnwood.Smtp4dev/bin/Debug/net8.0/Rnwood.Smtp4dev.dll",
28+
"program": "${workspaceFolder}/Rnwood.Smtp4dev/bin/Debug/net10.0/Rnwood.Smtp4dev.dll",
2929
"cwd": "${workspaceFolder}/Rnwood.Smtp4dev",
3030
"args": ["--recreatedb", "--urls", "http://localhost:5000", "--debugsettings", "--tui"],
3131
"stopAtEntry": false,

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
**Always follow these instructions first and fallback to additional search and context gathering only if the information in the instructions is incomplete or found to be in error.**
44

5-
smtp4dev is a fake SMTP email server for development and testing, built as a .NET 8.0 web application with a Vue.js 3 frontend. It provides SMTP, IMAP, and web interfaces for testing email functionality during development.
5+
smtp4dev is a fake SMTP email server for development and testing, built as a .NET 10.0 web application with a Vue.js 3 frontend. It provides SMTP, IMAP, and web interfaces for testing email functionality during development.
66

77
## Working Effectively
88

99
### Prerequisites and Dependencies
10-
- .NET 8.0 SDK (tested with 8.0.119)
10+
- .NET 10.0 SDK
1111
- Node.js 20+ and npm 10+ (tested with Node.js 20.19.4, npm 10.8.2)
1212
- Git
1313
- Optional: Chrome/Chromium for E2E tests

azure-pipelines.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ stages:
222222
223223
# Look for playwright.ps1 script in multiple possible locations
224224
$possiblePaths = @(
225-
"Rnwood.Smtp4dev.Tests/bin/Release/net8.0/playwright.ps1",
226-
"Rnwood.Smtp4dev.Tests/bin/linux-x64/Release/net8.0/playwright.ps1",
227-
"Rnwood.Smtp4dev.Tests/bin/win-x64/Release/net8.0/playwright.ps1"
225+
"Rnwood.Smtp4dev.Tests/bin/Release/net10.0/playwright.ps1",
226+
"Rnwood.Smtp4dev.Tests/bin/linux-x64/Release/net10.0/playwright.ps1",
227+
"Rnwood.Smtp4dev.Tests/bin/win-x64/Release/net10.0/playwright.ps1"
228228
)
229229
230230
$playwrightScript = $null
@@ -646,9 +646,9 @@ stages:
646646
647647
# Look for playwright.ps1 script in multiple possible locations
648648
$possiblePaths = @(
649-
"Rnwood.Smtp4dev.Tests/bin/Release/net8.0/playwright.ps1",
650-
"Rnwood.Smtp4dev.Tests/bin/linux-x64/Release/net8.0/playwright.ps1",
651-
"Rnwood.Smtp4dev.Tests/bin/win-x64/Release/net8.0/playwright.ps1"
649+
"Rnwood.Smtp4dev.Tests/bin/Release/net10.0/playwright.ps1",
650+
"Rnwood.Smtp4dev.Tests/bin/linux-x64/Release/net10.0/playwright.ps1",
651+
"Rnwood.Smtp4dev.Tests/bin/win-x64/Release/net10.0/playwright.ps1"
652652
)
653653
654654
$playwrightScript = $null
@@ -946,9 +946,9 @@ stages:
946946
947947
# Look for playwright.ps1 script in multiple possible locations
948948
$possiblePaths = @(
949-
"Rnwood.Smtp4dev.Tests/bin/Release/net8.0/playwright.ps1",
950-
"Rnwood.Smtp4dev.Tests/bin/linux-x64/Release/net8.0/playwright.ps1",
951-
"Rnwood.Smtp4dev.Tests/bin/win-x64/Release/net8.0/playwright.ps1"
949+
"Rnwood.Smtp4dev.Tests/bin/Release/net10.0/playwright.ps1",
950+
"Rnwood.Smtp4dev.Tests/bin/linux-x64/Release/net10.0/playwright.ps1",
951+
"Rnwood.Smtp4dev.Tests/bin/win-x64/Release/net10.0/playwright.ps1"
952952
)
953953
954954
$playwrightScript = $null
@@ -1147,7 +1147,7 @@ stages:
11471147
[Rnwood.Smtp4dev-linux-arm64-$(tag).zip](../../releases/download/$(tag)/Rnwood.Smtp4dev-linux-arm64-$(tag).zip) | Linux ARM 64-bit binary standalone
11481148
[Rnwood.Smtp4dev-linux-arm-$(tag).zip](../../releases/download/$(tag)/Rnwood.Smtp4dev-linux-arm-$(tag).zip) | Linux ARM 32-bit binary standalone
11491149
[Rnwood.Smtp4dev-linux-musl-x64-$(tag).zip](../../releases/download/$(tag)/Rnwood.Smtp4dev-linux-musl-x64-$(tag).zip) | Linux MUSL x64 binary standalone for Linux distros using MUSL libc
1150-
[Rnwood.Smtp4dev-noruntime-$(tag).zip](../../releases/download/$(tag)/Rnwood.Smtp4dev-noruntime-$(tag).zip) | Architecture independent version. Should run on any platform where the .NET 8.0 (or greater) runtime is installed
1150+
[Rnwood.Smtp4dev-noruntime-$(tag).zip](../../releases/download/$(tag)/Rnwood.Smtp4dev-noruntime-$(tag).zip) | Architecture independent version. Should run on any platform where the .NET 10.0 (or greater) runtime is installed
11511151
[Docker images for Windows and Linux](https://hub.docker.com/layers/rnwood/smtp4dev/$(tag)) - [How to use Docker image](https://github.com/rnwood/smtp4dev/blob/master/docs/Installation.md#how-to-run-smtp4dev-in-docker)
11521152
[.NET tool Rnwood.Smtp4dev $(tag)](https://www.nuget.org/packages/Rnwood.Smtp4dev/$(tag)) | .NET tool (recommended option for Mac OS) - [How to use dotnet tool](https://github.com/rnwood/smtp4dev/blob/master/docs/Installation.md#how-to-run-smtp4dev-as-a-dotnet-global-tool)
11531153

docs/Configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ The search path of these files is printed when smtp4dev starts up. So the easies
2121
```
2222
smtp4dev version 3.3.6-ci20240419116+60aff5ea69aa19c6fb9afa8573fd5f77ab40de3a
2323
https://github.com/rnwood/smtp4dev
24-
.NET Core runtime version: .NET 8.0.4
24+
.NET Core runtime version: .NET 10.0
2525
2626
> For help use argument --help
2727
2828
Install location: C:\Users\rob
2929
DataDir: C:\Users\rob\AppData\Roaming\smtp4dev
30-
Default settings file: C:\Users\rob\.dotnet\tools\.store\rnwood.smtp4dev\3.3.6-ci20240419116\rnwood.smtp4dev\3.3.6-ci20240419116\tools\net8.0\any\appsettings.json
30+
Default settings file: C:\Users\rob\.dotnet\tools\.store\rnwood.smtp4dev\3.3.6-ci20240419116\rnwood.smtp4dev\3.3.6-ci20240419116\tools\net10.0\any\appsettings.json
3131
User settings file: C:\Users\rob\AppData\Roaming\smtp4dev\appsettings.json
3232
```
3333

docs/Installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ If you don't want to use the dotnet global tool or Docker (see below if you know
5454
| Prefix | Description |
5555
| - | - |
5656
| Rnwood.Smtp4dev-win-x64 | Windows x64 (Intel 64 bit) binary standalone |
57-
| Rnwood.Smtp4dev-noruntime | Architecture dependent version. Should run on any platform where the [.NET 8+ runtime](https://dotnet.microsoft.com/download/dotnet-core/current/runtime) is installed |
57+
| Rnwood.Smtp4dev-noruntime | Architecture dependent version. Should run on any platform where the [.NET 10+ runtime](https://dotnet.microsoft.com/download/dotnet-core/current/runtime) is installed |
5858
| Rnwood.Smtp4dev-linux-x64 | Linux x64 (Intel 64 bit) binary standalone |
5959
| Rnwood.Smtp4dev-linux-musl-x64 | Linux x64 (Intel 64 bit) binary standalone for MUSL based distros (Alpine Linux) |
6060
|Rnwood.Smtp4dev-linux-arm | Linux ARM (Intel 32 bit) binary standalone |
@@ -68,7 +68,7 @@ If you don't want to use the dotnet global tool or Docker (see below if you know
6868

6969
## How to run smtp4dev as a dotnet global tool
7070

71-
If you're using the [.NET 8+ SDK](https://dotnet.microsoft.com/en-us/download/dotnet/latest) you can install smtp4dev as a global tool using the following command:
71+
If you're using the [.NET 10+ SDK](https://dotnet.microsoft.com/en-us/download/dotnet/latest) you can install smtp4dev as a global tool using the following command:
7272
```
7373
dotnet tool install -g Rnwood.Smtp4dev
7474
```

docs/stress-test-memory-leak.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Memory growth per message: 2.8 KB
9292
## Running the Test
9393

9494
### Prerequisites
95-
- .NET 8.0 SDK
95+
- .NET 10.0 SDK
9696
- Available ports for SMTP (2525) and HTTP (5000) services
9797

9898
### Command Line

0 commit comments

Comments
 (0)