Skip to content

Upgrade to .NET 10.0 - #6766

Open
smoogipoo wants to merge 9 commits into
ppy:masterfrom
smoogipoo:net10.0
Open

Upgrade to .NET 10.0#6766
smoogipoo wants to merge 9 commits into
ppy:masterfrom
smoogipoo:net10.0

Conversation

@smoogipoo

@smoogipoo smoogipoo commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

@smoogipoo
smoogipoo force-pushed the net10.0 branch 5 times, most recently from e805ca2 to 7cb0ab7 Compare June 11, 2026 03:49
@smoogipoo
smoogipoo marked this pull request as draft June 18, 2026 10:31
@smoogipoo smoogipoo removed the blocked label Jun 18, 2026
Static stubs can't be used since their MVID (a unique identifier for the
module, essentially a GUID) is changed by Roslyn during the linking
process.

Instead, we have to re-strip the assemblies ourselves exactly when
required.

This is done by the new single-file C# app: `AssemblyStripper.cs`. It
doesn't quite strip _everything_ - it leaves types/methods/fields/etc
in-place because if there are any live references to them (which is
actually the case in practice), the .NET ILLink process will crash.
@smoogipoo
smoogipoo marked this pull request as ready for review August 27, 2026 12:35
Comment thread .editorconfig

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the simplest changes I could make to make the code compile without warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant