From 6927ba2a2a6ca61a1719f958c755be8836eef8da Mon Sep 17 00:00:00 2001 From: John Smith Date: Fri, 14 Nov 2025 10:55:05 +0000 Subject: [PATCH] feat: add .NET 10 support - Add .NET 10 (net10.0) to target frameworks - Update CI workflow to install .NET 10.0.x SDK - Update documentation to reflect .NET 10 support - Bump version to 1.4.0 for NuGet release The project now targets .NET 8 (LTS until November 2026), .NET 9 (STS with 18-month support), and .NET 10 (LTS until November 2028), ensuring broad compatibility while leveraging the latest .NET features and performance improvements. Existing SDK support (.NET 8 and 9) is fully maintained. --- .github/workflows/ci.yml | 1 + CLAUDE.md | 2 +- README.md | 10 +++++----- src/solrevdev.seedfolder.csproj | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1164857..8a83e56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,7 @@ jobs: dotnet-version: | 8.0.x 9.0.x + 10.0.x - name: dotnet build run: dotnet build solrevdev.seedfolder.sln --configuration Release diff --git a/CLAUDE.md b/CLAUDE.md index 772be31..2dfd5b6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -56,7 +56,7 @@ Template files are stored as embedded resources in `src/Data/` and copied to new - `SafeNameForFileSystem()` - Removes invalid filesystem characters from folder names ## Multi-Target Framework Support -The project targets .NET 8.0 (LTS) and 9.0 (STS) to support current and modern .NET versions. .NET 8 provides long-term support until November 2026, while .NET 9 offers the latest features with 18-month support. +The project targets .NET 8.0 (LTS), 9.0 (STS), and 10.0 (LTS) to support current and modern .NET versions. .NET 8 provides long-term support until November 2026, .NET 9 offers the latest features with 18-month support, and .NET 10 is the latest LTS release providing long-term support until November 2028. ## CI/CD GitHub Actions workflow builds, packs, and publishes to NuGet on pushes to master branch. Version is controlled by the `` property in the .csproj file. \ No newline at end of file diff --git a/README.md b/README.md index 2562a31..d70ebb9 100644 --- a/README.md +++ b/README.md @@ -436,7 +436,7 @@ git commit -m "Initial commit" ## Requirements -This tool requires **.NET 8.0 or .NET 9.0 SDK** to be installed on your system. +This tool requires **.NET 8.0, .NET 9.0, or .NET 10.0 SDK** to be installed on your system. - **Supported Platforms**: Windows, macOS, Linux - **Runtime**: .NET 8.0 or later @@ -473,18 +473,18 @@ dotnet tool uninstall --global solrevdev.seedfolder ## Run directly during development # Interactive mode -dotnet run --project src/solrevdev.seedfolder.csproj --framework net9.0 +dotnet run --project src/solrevdev.seedfolder.csproj --framework net10.0 ## With arguments # Show the application's version (pass `--version` to the app via `--`) -dotnet run --project src/solrevdev.seedfolder.csproj --framework net9.0 -- --version +dotnet run --project src/solrevdev.seedfolder.csproj --framework net10.0 -- --version # Show the application's help text (pass `--help` to the app via `--`) -dotnet run --project src/solrevdev.seedfolder.csproj --framework net9.0 -- --help +dotnet run --project src/solrevdev.seedfolder.csproj --framework net10.0 -- --help # Create a Node template project using the app (arguments after `--` are for the app) -dotnet run --project src/solrevdev.seedfolder.csproj --framework net9.0 -- --template node myapp +dotnet run --project src/solrevdev.seedfolder.csproj --framework net10.0 -- --template node myapp # If you omit `--` and run `dotnet run --project ... --help`, the .NET CLI help will be shown. ``` diff --git a/src/solrevdev.seedfolder.csproj b/src/solrevdev.seedfolder.csproj index c97fb0c..6d94b23 100644 --- a/src/solrevdev.seedfolder.csproj +++ b/src/solrevdev.seedfolder.csproj @@ -2,14 +2,14 @@ Exe - net8.0;net9.0 + net8.0;net9.0;net10.0 latest enable true seedfolder ./nupkg true - 1.3.3 + 1.4.0 solrevdev.seedfolder .NET Core Global Tool that creates a folder and copies dotfiles into it therefore seeding a folder. .NET Core Global Tool that creates a folder and copies dotfiles into it therefore seeding a folder.