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

Add .NET 7 support #5780

Closed
squidink7 opened this issue Nov 14, 2022 · 3 comments
Closed

Add .NET 7 support #5780

squidink7 opened this issue Nov 14, 2022 · 3 comments
Milestone

Comments

@squidink7
Copy link

Describe the project you are working on

Small games in C#

Describe the problem or limitation you are having in your project

Right now Godot uses .NET 6, and .NET 7 recently released as stable. This new release has new features and a performance boost, and as I use it for non-godot projects I already have it installed. This means I need 2 SDK versions, one for Godot and one for everything else.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

.NET 7 is newer and has several features not present in version 6, and will start to be used in more projects as time goes on. It also features new functionality which could be quite beneficial to Godot, such as Native AOT compilation, however support for this is outside the scope of this issue.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

I haven't delved too deep into the Godot .NET glue code, however presumably it would be a matter of updating the generators to output .NET 7 compatible projects.

If this enhancement will not be used often, can it be worked around with a few lines of script?

No

Is there a reason why this should be core and not an add-on in the asset library?

C# support is already in core, this is just an update.

@ShalokShalom
Copy link

Did you try to just use 7, and see whats happening?

@squidink7
Copy link
Author

I have set the target framework in my project to net7.0, but when I ran my game Godot couldn't find any of my scripts.

@Calinou Calinou changed the title .NET 7 support Add .NET 7 support Nov 14, 2022
@Calinou Calinou added this to the 4.x milestone Nov 14, 2022
@squidink7
Copy link
Author

Closing as completed: godotengine/godot#71825

@raulsntos raulsntos modified the milestones: 4.x, 4.0 Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Implemented
Development

No branches or pull requests

5 participants