Content does not build if the user has .NET version >10

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

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp
Domain
build-system

Research direction

Find the Content project’s .csproj file and check its TargetFramework setting. Add the specified RollForward setting, then build the template with a .NET version newer than 10 to confirm it succeeds.

Written by the indexing model from the issue text.

Description

The Content csproj file has a target framework of net10.0 but is missing the RollForward tag that allows it to build if the user only has a newer .NET version installed. This causes a build failure.

<TargetFramework>net10.0</TargetFramework>
<!-- Missing -->
<RollForward>Major</RollForward>
Dominant language
C#
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from MonoGame/MonoGame.EmptyGame.CSharp

All issues in MonoGame/MonoGame.EmptyGame.CSharp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.