Skip to content

Migrate SolSharp to .NET 10 and C# 14 - #15

Merged
jecacs merged 5 commits into
mainfrom
chore/migrate-to-dotnet-10-csharp-14
Aug 10, 2026
Merged

Migrate SolSharp to .NET 10 and C# 14#15
jecacs merged 5 commits into
mainfrom
chore/migrate-to-dotnet-10-csharp-14

Conversation

@jecacs

@jecacs jecacs commented Aug 10, 2026

Copy link
Copy Markdown
Owner
  • target net10.0 and pin the stable .NET 10 SDK
  • adopt C# 14 syntax and fix migration regressions
  • enforce deterministic member ordering with StyleCop
  • align Rider and Roslyn code-style settings
  • update CI, AOT validation, lock files, and documentation

BREAKING CHANGE: SolSharp now requires .NET 10.

jecacs added 5 commits August 10, 2026 15:36
  - target net10.0 and pin the stable .NET 10 SDK
  - adopt C# 14 syntax and fix migration regressions
  - enforce deterministic member ordering with StyleCop
  - align Rider and Roslyn code-style settings
  - update CI, AOT validation, lock files, and documentation

  BREAKING CHANGE: SolSharp now requires .NET 10.
- Updated project dependencies to the latest versions, including `Microsoft.Extensions` and `NSubstitute`.
- Added `Microsoft.SourceLink.GitHub` for better debugging support.
- Refactored to adopt modern C# syntax with target-typed new expressions and inline static usage for improved clarity and efficiency.
…bSocket transport robustness:

- Dropped redundant `Microsoft.SourceLink.GitHub` package imports across projects.
- Improved `ClientWebSocketConnection` lifecycle management with new `TryClaimCloseOutput` logic, enhanced exception handling, and proper cleanup.
- Added comprehensive WebSocket unit tests to validate concurrency, disposal scenarios, and error paths.
- Refreshed restore/publish workflows for better native AOT support.
@jecacs
jecacs merged commit 9541268 into main Aug 10, 2026
7 checks passed
@jecacs
jecacs deleted the chore/migrate-to-dotnet-10-csharp-14 branch August 11, 2026 22:17
jecacs added a commit that referenced this pull request Aug 23, 2026
* Migrate SolSharp to .NET 10 and C# 14

  - target net10.0 and pin the stable .NET 10 SDK
  - adopt C# 14 syntax and fix migration regressions
  - enforce deterministic member ordering with StyleCop
  - align Rider and Roslyn code-style settings
  - update CI, AOT validation, lock files, and documentation

  BREAKING CHANGE: SolSharp now requires .NET 10.

* Bump version to 3.0.0 and update all references across the repository.

* keep AOT restore RID-agnostic

* Upgrade dependencies and modernize syntax:

- Updated project dependencies to the latest versions, including `Microsoft.Extensions` and `NSubstitute`.
- Added `Microsoft.SourceLink.GitHub` for better debugging support.
- Refactored to adopt modern C# syntax with target-typed new expressions and inline static usage for improved clarity and efficiency.

* Remove outdated Microsoft.SourceLink.GitHub references and enhance WebSocket transport robustness:

- Dropped redundant `Microsoft.SourceLink.GitHub` package imports across projects.
- Improved `ClientWebSocketConnection` lifecycle management with new `TryClaimCloseOutput` logic, enhanced exception handling, and proper cleanup.
- Added comprehensive WebSocket unit tests to validate concurrency, disposal scenarios, and error paths.
- Refreshed restore/publish workflows for better native AOT support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant