stride3d / stride3d/stride

feat: Add ImplicitUsings and Nullable to default game templates

Open Beginner friendly
#3,386 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Is your feature request related to a problem? Please describe.

The new game templates should have in MyGame.Game.csproj this included, which is default for .NET 10.

<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Describe the solution you'd like
The templates should automatically add

<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Describe alternatives you've considered
Adding it manually.

Additional context
These settings are good practises:

  • ImplicitUsings: eliminates repetetive namespace imports
  • Nullable: Catches NullReferenceException bugs at a compile time

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the default game templates and inspecting the generated MyGame.Game.csproj. Verify that generated game projects include ImplicitUsings and Nullable enabled, then check the template output to confirm both settings appear automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, game-dev
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.