Skip to content

Add .NET 7 support #5780

@squidink7

Description

@squidink7

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Implemented

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions