Skip to content

[3.0] Switch to SLNX and update dependencies#2588

Open
Exanite wants to merge 11 commits into
develop/3.0from
feature/update-dependencies
Open

[3.0] Switch to SLNX and update dependencies#2588
Exanite wants to merge 11 commits into
develop/3.0from
feature/update-dependencies

Conversation

@Exanite

@Exanite Exanite commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary of the PR

This PR updates all dependencies in Directory.Packages.props, except for System.CommandLine which some of the code copied verbatim from ClangSharp still requires. I can update this code, but seeing as ClangSharp has not updated either, I'm keeping the current version for simplicity.

This PR also switches the branch to use the SLNX solution format. This notably impacts people currently working the project, but fortunately easy to address by just letting them know.

Related issues, Discord discussions, or proposals

PR Discord Thread: https://discord.com/channels/521092042781229087/1514592267132866711

  • Currently no relevant messages since I didn't find the need.

Further Comments

Tasks

  • Use SLNX format
    • Remove SLN file?
    • Update Nuke
  • Update CSharpier
    • Confirm that the generator still runs
  • Update other dependencies
  • Notify active contributors to Silk 3 about the SLNX change in this PR.

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

File Coverage
All files 20%

Minimum allowed coverage is 0%

Generated by 🐒 cobertura-action against cafaccf

Exanite added 8 commits June 11, 2026 07:57
Note: The Silk.NET.sln.DotSettings files must not be renamed. Rider still looks for the .sln version.
Error in question:
Microsoft.Build.Locator.targets(19,5): Error MSBL001 : A PackageReference to the package 'Microsoft.NET.StringTools' at version '18.7.1' is present in this project without ExcludeAssets="runtime" and PrivateAssets="all" set. This can cause errors at run-time due to MSBuild assembly-loading.

I'm not sure what's the proper way to solve this, but I also had this error in my personal repos and this was how I solved it there.
The code copied verbatim from ClangSharp uses an old version of System.CommandLine (v2.0.0-beta3.22114.1).
Since this code is copied verbatim, I don't want to update it to compile with the new version of System.CommandLine (v2.0.9).
This commit reverts the package to use v2.0.0-beta4.22272.1, which is the one we used before this PR.
@Exanite Exanite mentioned this pull request Jun 11, 2026
37 tasks
@Exanite Exanite marked this pull request as ready for review June 12, 2026 08:27
@Exanite Exanite requested a review from a team as a code owner June 12, 2026 08:27
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in Silk.NET Development Tracker Jun 12, 2026
@Exanite Exanite changed the title [3.0] Update repo and dependencies [3.0] Switch to SLNX and update dependencies Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants