Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to .NET 9 #198

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

marco-carvalho
Copy link
Contributor

No description provided.

@github-actions github-actions bot added audio Affects Audio playback during emulation cpu An issue with ARM emulation or the JIT gpu Affects GPU emulation graphics-backend:opengl Affects the OpenGL Graphics backend graphics-backend:vulkan Affects the Vulkan Graphics backend gui Affects the Avalonia UI or translations. horizon Affects the Horizon OS HLE components. labels Nov 6, 2024
@WilliamWsyHK
Copy link
Contributor

We should only merge this once .NET 9 has been released globally out of RC, and the version of the global.json is update again to match latest release version.

Meanwhile, we need more people to test and see what has happened, e.g. performance regression/broken game functionality.

@GreemDev
Copy link
Owner

GreemDev commented Nov 7, 2024

We should only merge this once .NET 9 has been released globally out of RC, and the version of the global.json is update again to match latest release version.

Pretty sure that's why this was opened as a draft.

@marco-carvalho
Copy link
Contributor Author

I opened this as a draft precisely because .NET 9 is still in RC; I’ll update the global.json to the latest release version once .NET 9 is officially out. Meanwhile, I’ll encourage additional testing to check for any performance regressions or broken functionality.

@bangfire
Copy link

There's some low hanging fruit you could probably add to this PR such as the new Lock object: https://learn.microsoft.com/en-us/dotnet/api/system.threading.lock?view=net-9.0

A quick find replace on object _lock has a a lot of hits that are free to update.

@mattzink
Copy link

mattzink commented Nov 13, 2024

Those warnings about Lock being upcast to object will result in runtime failures. You need to update the method signatures to Lock as well when you pass instances around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audio Affects Audio playback during emulation cpu An issue with ARM emulation or the JIT gpu Affects GPU emulation graphics-backend:opengl Affects the OpenGL Graphics backend graphics-backend:vulkan Affects the Vulkan Graphics backend gui Affects the Avalonia UI or translations. horizon Affects the Horizon OS HLE components.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants