Upgrade CLI tool to .NET 10
Upgrades the CLI tool runtime from .NET 8 to .NET 10 and ensures GitHub Actions workflows support the new version.
Changes
Core Projects
- CLI and all test projects:
net8.0→net10.0target framework -
global.json: SDK version6.0.428→10.0.100
CI/CD Workflows
Added 10.0.x to .NET setup steps in:
-
unit-tests.yml,smoke-tests.yml -
regression-tests.yml(3 jobs: C#, JMeter, TypeScript) -
production-tests.yml(3 jobs: C#, JMeter, TypeScript) -
vscode.yml,release.yml
Documentation
-
README.md,docs/CLI.md: Updated runtime requirement to .NET 10.0
Backward Compatibility
Workflows maintain support for .NET 2.1.x through 10.0.x. Only the CLI tool itself requires .NET 10 runtime.
[!WARNING]
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
collector.exceptionless.io
- Triggering command:
refitter --settings-file /home/REDACTED/work/apiclientcodegen/apiclientcodegen/src/Swagger.refitter --simple-output(dns block)heartbeat.exceptionless.io
- Triggering command:
refitter --settings-file /home/REDACTED/work/apiclientcodegen/apiclientcodegen/src/Swagger.refitter --simple-output(dns block)petstore.swagger.io
- Triggering command:
/usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/apiclientcodegen/apiclientcodegen/src/Core/ApiClientCodeGen.Core.Tests/bin/Debug/net10.0/ApiClientCodeGen.Core.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/apiclientcodegen/apiclientcodegen/src/Core/ApiClientCodeGen.Core.Tests/bin/Debug/net10.0/ApiClientCodeGen.Core.Tests.deps.json /home/REDACTED/work/apiclientcodegen/apiclientcodegen/src/Core/ApiClientCodeGen.Core.Tests/bin/Debug/net10.0/testhost.dll --port 32959 --endpoint 127.0.0.1:032959 --role client --parentprocessid 4315 --telemetryoptedin false(dns block)westeurope-5.in.applicationinsights.azure.com
- Triggering command:
refitter --settings-file /home/REDACTED/work/apiclientcodegen/apiclientcodegen/src/Swagger.refitter --simple-output(dns block)If you need me to access, download, or install something from one of these locations, you can either:
- Configure Actions setup steps to set up my environment, which run before the firewall is enabled
- Add the appropriate URLs or hosts to the custom allowlist in this repository's Copilot coding agent settings (admins only)
Original prompt
Upgrade the CLI tool to run on .NET 10. Ensure that the Github workflows are all compatible with .NET 10. Update the software requirements in the README files to indicate that .NET 10 is needed to run the tool
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.