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

Open
#7,145 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the listed .csproj, .vbproj, and .fsproj files and the linked dotnet/docs#22271 discussion to understand the automated version recommendation. Update each project that should use a supported target framework, then check that the sample projects build; the issue gives no specific test command. Done when each applicable project targets a supported version or is documented in the repository's dotnet-versionsweeper.json ignore list.

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
net8.0 November, 10 2026 net8.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.