Skip to content

#16 Adopt .NET 10 with multitargeting (by JohnCampionJr) - #30

Merged
jvilimek merged 12 commits into
mainfrom
jcamp-code-feature/adopt-net10
Jul 10, 2026
Merged

#16 Adopt .NET 10 with multitargeting (by JohnCampionJr)#30
jvilimek merged 12 commits into
mainfrom
jcamp-code-feature/adopt-net10

Conversation

@jvilimek

Copy link
Copy Markdown
Contributor

Closes #16.

Multi-targets net8.0, net9.0 and net10.0 for both the tool and the tests, bumps the SDK and CI to .NET 10, and runs the test suite against both runtimes.

Raising AnalysisLevel to 10 (tracking the new TFM) surfaced two rules, fixed rather than suppressed:

  • CA1515: made the app's types internal. Added InternalsVisibleTo for DynamicProxyGenAssembly2 so Moq can still mock the now-internal interfaces.
  • CA1872: use Convert.ToHexString in the test hash helper.

Left the Spectre.Console and other package upgrades out to keep this focused; can follow up separately.

Also adds macOS support to ProcessExecutorTests (was throwing on OSX).

Co-authored-by: John Campion Jr 1094820+JohnCampionJr@users.noreply.github.com

JohnCampionJr and others added 11 commits July 10, 2026 10:29
Multi-target net8.0;net10.0 for the tool and tests, bump the SDK and CI to .NET 10, and run the tests on both runtimes. AnalysisLevel tracks the TFM now; fixed the findings it surfaced (CA1515 -> internal types with InternalsVisibleTo for Moq, CA1872 -> Convert.ToHexString).
Use 10.0.100 with rollForward latestFeature so any installed .NET 10 feature band
satisfies it, instead of requiring 10.0.300 or higher.
only one lang and analysis should be supported (we will develop in .net 10, yet compile for .net 8-10)
…y.build.props

Removed net10.0 from the target frameworks.
for building all .net 8-10 we just need the .net 10 sdk
@jvilimek
jvilimek requested a review from a team as a code owner July 10, 2026 08:37
@jvilimek
jvilimek merged commit 6202219 into main Jul 10, 2026
1 check passed
@jvilimek
jvilimek deleted the jcamp-code-feature/adopt-net10 branch July 10, 2026 08:43
@magiino magiino changed the title Adopt .NET 10 with multitargeting #16 Adopt .NET 10 with multitargeting Jul 10, 2026
@jvilimek jvilimek changed the title #16 Adopt .NET 10 with multitargeting #16 Adopt .NET 10 with multitargeting (by JohnCampionJr) Jul 10, 2026
@jvilimek jvilimek mentioned this pull request Jul 10, 2026
jvilimek added a commit that referenced this pull request Jul 10, 2026
## 0.2.0

**Minor Changes**:

- [[#16](https://github.com/solarwinds/net-changesets/issue/16)] Adopt .NET 10 with multi-targeting. The tool and tests now target `net8.0`, `net9.0` and `net10.0`, the SDK and CI use .NET 10. [[#30](#30)]

**Patch Changes**:

- [[#28](#28)] Added documentation for integrating net-changesets with the official Changesets GitHub Action, including custom `version` and `publish` commands, required checkout depth, status-check behavior, NuGet source configuration, and links to a working demo workflow. ([PR #29](#29))
- Upgrade Spectre.Console to 0.56.0 and Spectre.Console.Cli to 0.55.0 (with matching testing packages). Adapts to the new command `ExecuteAsync(CommandContext, CancellationToken)` signature and the move of `CommandAppTester` into the new `Spectre.Console.Cli.Testing` package. [[#31](#31)]
- Fix `version` only bumping one dependent when a project is referenced by multiple projects. [[#32](#32)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Adopt .NET 10

3 participants