-
-
Notifications
You must be signed in to change notification settings - Fork 28
Upgrade CLI tool to .NET 10 #1399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Comment |
Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com>
Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com>
Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades the CLI tool and related test projects from .NET 8.0 to .NET 10.0, updating the SDK version in global.json from 6.0.428 to 10.0.100, and ensuring GitHub Actions workflows support the new runtime version.
Key Changes:
- Target framework migration from
net8.0tonet10.0for CLI tool and all test projects - SDK version bump to 10.0.100 with rollForward policy change from "latestMajor" to "latestMinor" for more controlled version management
- GitHub Actions workflows updated to install .NET 10.0.x runtime alongside existing versions (2.1.x through 9.0.x)
Reviewed Changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/global.json | Updated SDK version to 10.0.100 and changed rollForward policy to latestMinor |
| src/Core/ApiClientCodeGen.Core.Tests/ApiClientCodeGen.Core.Tests.csproj | Updated target framework from net8.0 to net10.0 |
| src/Core/ApiClientCodeGen.Core.IntegrationTests/ApiClientCodeGen.Core.IntegrationTests.csproj | Updated target framework from net8.0 to net10.0 |
| src/CLI/ApiClientCodeGen.CLI/ApiClientCodeGen.CLI.csproj | Updated target framework from net8.0 to net10.0 |
| src/CLI/ApiClientCodeGen.CLI.Tests/ApiClientCodeGen.CLI.Tests.csproj | Updated target framework from net8.0 to net10.0 |
| docs/CLI.md | Updated runtime requirement documentation from .NET 6.0 to .NET 10.0 |
| README.md | Updated runtime requirement documentation from .NET 6.0 to .NET 10.0 |
| .github/workflows/vsix.yml | Added .NET 10.0.x setup step |
| .github/workflows/vscode.yml | Updated .NET version from 6.0.x to 10.0.x |
| .github/workflows/unit-tests.yml | Added 9.0.x and 10.0.x to .NET setup, updated test commands to use net10.0 framework |
| .github/workflows/sonar-cloud.yml | Added duplicate .NET 10.0.x setup steps (redundant configuration) |
| .github/workflows/smoke-tests.yml | Added 10.0.x to .NET setup in all job configurations |
| .github/workflows/release.yml | Added/updated .NET setup steps to use 10.0.x |
| .github/workflows/regression-tests.yml | Added 10.0.x to .NET setup across all test jobs |
| .github/workflows/production-tests.yml | Added 10.0.x to .NET setup across all test jobs |
| .github/workflows/cli-tool.yml | Added .NET 10.0.x setup step |
| - name: Setup .NET | ||
| uses: actions/setup-dotnet@v5 | ||
| with: | ||
| dotnet-version: '10.0.x' |
Copilot
AI
Nov 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate .NET setup step. This step is identical to the earlier setup at line 27-30 and can be removed to avoid redundancy.
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '10.0.x' |



Upgrades the CLI tool runtime from .NET 8 to .NET 10 and ensures GitHub Actions workflows support the new version.
Changes
Core Projects
net8.0→net10.0target frameworkglobal.json: SDK version6.0.428→10.0.100CI/CD Workflows
Added
10.0.xto .NET setup steps in:unit-tests.yml,smoke-tests.ymlregression-tests.yml(3 jobs: C#, JMeter, TypeScript)production-tests.yml(3 jobs: C#, JMeter, TypeScript)vscode.yml,release.ymlDocumentation
README.md,docs/CLI.md: Updated runtime requirement to .NET 10.0Backward 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.iorefitter --settings-file /home/REDACTED/work/apiclientcodegen/apiclientcodegen/src/Swagger.refitter --simple-output(dns block)heartbeat.exceptionless.iorefitter --settings-file /home/REDACTED/work/apiclientcodegen/apiclientcodegen/src/Swagger.refitter --simple-output(dns block)petstore.swagger.io/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.comrefitter --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:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.