From a9bcd36bfeeac016a880b6a3a1f1e582ffa7523a Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 19:58:05 +0000 Subject: [PATCH 1/2] Target .NET 10 Update both projects, the CI workflow, the README and the project page. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01PfG6MnHg74EM7ndCo5atss --- .github/workflows/ci.yml | 2 +- GeneCodeCS.Test/GeneCodeCS.Test.csproj | 2 +- GeneCodeCS/GeneCodeCS.csproj | 2 +- README.md | 2 +- docs/index.html | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 203176c..84646a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - run: dotnet build --configuration Release - run: dotnet test --configuration Release --no-build - run: dotnet pack GeneCodeCS/GeneCodeCS.csproj --configuration Release --no-build --output artifacts diff --git a/GeneCodeCS.Test/GeneCodeCS.Test.csproj b/GeneCodeCS.Test/GeneCodeCS.Test.csproj index 654ccba..e09d33a 100644 --- a/GeneCodeCS.Test/GeneCodeCS.Test.csproj +++ b/GeneCodeCS.Test/GeneCodeCS.Test.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 GeneCodeCS.Test latest false diff --git a/GeneCodeCS/GeneCodeCS.csproj b/GeneCodeCS/GeneCodeCS.csproj index 5a8b462..3724460 100644 --- a/GeneCodeCS/GeneCodeCS.csproj +++ b/GeneCodeCS/GeneCodeCS.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 GeneCodeCS GeneCodeCS latest diff --git a/README.md b/README.md index 1fa4185..8859a1d 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ A working version of this is in `GeneCodeCS.Test/Helpers/CounterBot.cs` and `Pop Usage ----- -Requires .NET 8. Build and test with `dotnet test`. +Requires .NET 10. Build and test with `dotnet test`. Instantiate a new object of `Population<>` passing a custom sub-class of `BaseBot`. The sub-class must be concrete and have a public parameterless constructor. Define public methods in the sub-class for: * Functions - these return bool; diff --git a/docs/index.html b/docs/index.html index 51fba03..6211245 100644 --- a/docs/index.html +++ b/docs/index.html @@ -177,10 +177,10 @@

Evolve programs,
not just parameters.

Watch a population evolve ↓ View on GitHub -
# .NET 8 SDK
+    
# .NET 10 SDK
 git clone https://github.com/EddPorter/GeneCodeCS
 cd GeneCodeCS && dotnet test
-
.NET 8GPL-3.0-or-laterNo code generation to diskReproducible with a seed
+
.NET 10GPL-3.0-or-laterNo code generation to diskReproducible with a seed
From 0ecef344085fcf476d5d0f6b34e3ab33622aed6a Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 19:59:15 +0000 Subject: [PATCH 2/2] Target both .NET 8 and .NET 10 Multi-target the library and tests, install both SDKs in CI, and update the README and project page. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01PfG6MnHg74EM7ndCo5atss --- .github/workflows/ci.yml | 4 +++- GeneCodeCS.Test/GeneCodeCS.Test.csproj | 2 +- GeneCodeCS/GeneCodeCS.csproj | 2 +- README.md | 2 +- docs/index.html | 4 ++-- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84646a6..dc48cf1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,9 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: 10.0.x + dotnet-version: | + 8.0.x + 10.0.x - run: dotnet build --configuration Release - run: dotnet test --configuration Release --no-build - run: dotnet pack GeneCodeCS/GeneCodeCS.csproj --configuration Release --no-build --output artifacts diff --git a/GeneCodeCS.Test/GeneCodeCS.Test.csproj b/GeneCodeCS.Test/GeneCodeCS.Test.csproj index e09d33a..0e3ca05 100644 --- a/GeneCodeCS.Test/GeneCodeCS.Test.csproj +++ b/GeneCodeCS.Test/GeneCodeCS.Test.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0;net10.0 GeneCodeCS.Test latest false diff --git a/GeneCodeCS/GeneCodeCS.csproj b/GeneCodeCS/GeneCodeCS.csproj index 3724460..652eb84 100644 --- a/GeneCodeCS/GeneCodeCS.csproj +++ b/GeneCodeCS/GeneCodeCS.csproj @@ -1,7 +1,7 @@ - net10.0 + net8.0;net10.0 GeneCodeCS GeneCodeCS latest diff --git a/README.md b/README.md index 8859a1d..6f656ce 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ A working version of this is in `GeneCodeCS.Test/Helpers/CounterBot.cs` and `Pop Usage ----- -Requires .NET 10. Build and test with `dotnet test`. +Targets .NET 8 and .NET 10. Build and test with `dotnet test`. Instantiate a new object of `Population<>` passing a custom sub-class of `BaseBot`. The sub-class must be concrete and have a public parameterless constructor. Define public methods in the sub-class for: * Functions - these return bool; diff --git a/docs/index.html b/docs/index.html index 6211245..c78cf27 100644 --- a/docs/index.html +++ b/docs/index.html @@ -177,10 +177,10 @@

Evolve programs,
not just parameters.

Watch a population evolve ↓ View on GitHub -
# .NET 10 SDK
+    
# .NET 10 SDK (library targets .NET 8 and 10)
 git clone https://github.com/EddPorter/GeneCodeCS
 cd GeneCodeCS && dotnet test
-
.NET 10GPL-3.0-or-laterNo code generation to diskReproducible with a seed
+
.NET 8 & 10GPL-3.0-or-laterNo code generation to diskReproducible with a seed