Migrate SolSharp to .NET 10 and C# 14 - #15
Merged
Conversation
- 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
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGE: SolSharp now requires .NET 10.