Skip to content

Commit c4f0742

Browse files
authored
feat: add .NET 10 support (#17)
- 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.
1 parent f3cd872 commit c4f0742

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
dotnet-version: |
4343
8.0.x
4444
9.0.x
45+
10.0.x
4546
4647
- name: dotnet build
4748
run: dotnet build solrevdev.seedfolder.sln --configuration Release

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Template files are stored as embedded resources in `src/Data/` and copied to new
5656
- `SafeNameForFileSystem()` - Removes invalid filesystem characters from folder names
5757

5858
## Multi-Target Framework Support
59-
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.
59+
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.
6060

6161
## CI/CD
6262
GitHub Actions workflow builds, packs, and publishes to NuGet on pushes to master branch. Version is controlled by the `<Version>` property in the .csproj file.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ git commit -m "Initial commit"
436436
437437
## Requirements
438438
439-
This tool requires **.NET 8.0 or .NET 9.0 SDK** to be installed on your system.
439+
This tool requires **.NET 8.0, .NET 9.0, or .NET 10.0 SDK** to be installed on your system.
440440
441441
- **Supported Platforms**: Windows, macOS, Linux
442442
- **Runtime**: .NET 8.0 or later
@@ -473,18 +473,18 @@ dotnet tool uninstall --global solrevdev.seedfolder
473473
## Run directly during development
474474

475475
# Interactive mode
476-
dotnet run --project src/solrevdev.seedfolder.csproj --framework net9.0
476+
dotnet run --project src/solrevdev.seedfolder.csproj --framework net10.0
477477

478478
## With arguments
479479

480480
# Show the application's version (pass `--version` to the app via `--`)
481-
dotnet run --project src/solrevdev.seedfolder.csproj --framework net9.0 -- --version
481+
dotnet run --project src/solrevdev.seedfolder.csproj --framework net10.0 -- --version
482482

483483
# Show the application's help text (pass `--help` to the app via `--`)
484-
dotnet run --project src/solrevdev.seedfolder.csproj --framework net9.0 -- --help
484+
dotnet run --project src/solrevdev.seedfolder.csproj --framework net10.0 -- --help
485485

486486
# Create a Node template project using the app (arguments after `--` are for the app)
487-
dotnet run --project src/solrevdev.seedfolder.csproj --framework net9.0 -- --template node myapp
487+
dotnet run --project src/solrevdev.seedfolder.csproj --framework net10.0 -- --template node myapp
488488

489489
# If you omit `--` and run `dotnet run --project ... --help`, the .NET CLI help will be shown.
490490
```

src/solrevdev.seedfolder.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
66
<LangVersion>latest</LangVersion>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<PackAsTool>true</PackAsTool>
99
<ToolCommandName>seedfolder</ToolCommandName>
1010
<PackageOutputPath>./nupkg</PackageOutputPath>
1111
<NoDefaultExcludes>true</NoDefaultExcludes>
12-
<Version>1.3.3</Version>
12+
<Version>1.4.0</Version>
1313
<Title>solrevdev.seedfolder</Title>
1414
<Description>.NET Core Global Tool that creates a folder and copies dotfiles into it therefore seeding a folder.</Description>
1515
<PackageDescription>.NET Core Global Tool that creates a folder and copies dotfiles into it therefore seeding a folder.</PackageDescription>

0 commit comments

Comments
 (0)