feat: Add ImplicitUsings and Nullable to default game templates
Open
Beginner friendly
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 importsNullable: CatchesNullReferenceExceptionbugs at a compile time
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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