Upgrade from `net9.0` to LTS (or STS) version

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
77/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp
Domain
build-system

Research direction

Update the target framework in the five listed .csproj files, starting with each file’s target framework entry. Check the repository’s guidance for supported .NET versions and confirm the samples still build or run under the chosen version. Done when all listed projects target a supported version and their relevant validation succeeds.

Written by the indexing model from the issue text.

Description

dotnet-target-version

The following project file(s) target a .NET version that's no longer supported.
This is an auto-generated issue, detailed and discussed in dotnet/docs#22271.

Target version End of life Release notes Nearest LTS TFM version
net9.0 November, 10 2026 net9.0 release notes net10.0

Consider upgrading projects to either the Standard Term Support (STS) or Long Term Support (LTS) versions.

If any of these projects listed in this issue are intentionally targeting an unsupported version,
you can optionally configure to ignore these results in future automation executions.
Create a (or update the) dotnet-versionsweeper.json file at the root of the repository and
add an ignore entry following the
globbing patterns detailed here.

{
    "ignore": [
        "**/path/to/example.csproj"
    ]
}
Dominant language
C#
Stars
3.7k
Forks
5.1k
Avg merge
19h 47m
Merged PRs (30d)
2

Getting set up

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 dotnet/samples

All issues in dotnet/samples

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.