Upgrade from `net6.0` to LTS (or STS) version
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- csharp
- Domain
- build-system
Research direction
Start by inspecting the TargetFramework entries at the linked lines in the listed .csproj files, including azure/app-configuration-dynamic-reload/app-configuration-dynamic-reload.csproj and core/hosting/src/App/App.csproj. Update the affected projects to the selected supported LTS or STS target, then build or otherwise validate each sample; done means every listed project is upgraded or intentionally covered by dotnet-versionsweeper.json.
Written by the indexing model from the issue text.
Description
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 |
|---|---|---|---|
net6.0 |
November, 12 2024 | net6.0 release notes | net8.0 |
- azure/app-configuration-dynamic-reload/app-configuration-dynamic-reload.csproj
- azure/app-insights-aspnet-core-quickstart/app-insights-aspnet-core-quickstart.csproj
- azure/sdk-identity-resources-storage/AzureIdentityStorageExample.csproj
- core/hosting/src/App/App.csproj
- core/hosting/src/DotNetLib/DotNetLib.csproj
- core/hosting/src/NativeHost/NativeHost.csproj
- core/interop/comwrappers/Tutorial/Tutorial.csproj
- core/interop/cpp-cli/ManagedApp/ManagedApp.csproj
- core/interop/cpp-cli/ManagedLibrary/ManagedLibrary.csproj
- core/interop/IDynamicInterfaceCastable/src/ManagedApp/IDynamicInterfaceCastableSample.csproj
- core/interop/IDynamicInterfaceCastable/src/NativeLib/NativeLib.csproj
- core/mono-samples/Android/AndroidSampleApp.csproj
- core/mono-samples/iOS/iOSSampleApp.csproj
- core/mono-samples/wasm/WasmSampleApp.csproj
- csharp/branches-quickstart/BranchesAndLoops.csproj
- csharp/getting-started/console-teleprompter/console-teleprompter.csproj
- csharp/list-quickstart/list-quickstart.csproj
- csharp/numbers-quickstart/NumbersInCSharp.csproj
- csharp/roslyn-sdk/SemanticQuickStart/SemanticQuickStart.csproj
- csharp/roslyn-sdk/SyntaxQuickStart/HelloSyntaxTree/HelloSyntaxTree.csproj
- csharp/roslyn-sdk/SyntaxQuickStart/SyntaxWalker/SyntaxWalker.csproj
- csharp/roslyn-sdk/SyntaxTransformationQuickStart/ConstructionCS/ConstructionCS.csproj
- csharp/roslyn-sdk/SyntaxTransformationQuickStart/TransformationCS/TransformationCS.csproj
- csharp/roslyn-sdk/Tutorials/MakeConst/MakeConst.Test/MakeConst.Test.csproj
- csharp/unit-testing-code-coverage/XUnit.Coverlet.Collector/XUnit.Coverlet.Collector.csproj
- csharp/unit-testing-code-coverage/XUnit.Coverlet.MSBuild/XUnit.Coverlet.MSBuild.csproj
- framework/docker/ConsoleRandomAnswerGenerator/ConsoleRandomAnswerGenerator/ConsoleRandomAnswerGenerator.csproj
- github-actions/DotNet.GitHubAction/DotNet.CodeAnalysis/DotNet.CodeAnalysis.csproj
- github-actions/DotNet.GitHubAction/DotNet.GitHubAction/DotNet.GitHubAction.csproj
- iot/cheesecave.net/cheesecave.net.csproj
- iot/dotnet-iot-and-nanoframework/dotnet-iot/DNSensorAzureIoTHub.csproj
- msbuild/custom-task-code-generation/AppSettingStronglyTyped/AppSettingStronglyTyped.Test/AppSettingStronglyTyped.Test.csproj
- msbuild/custom-task-code-generation/MSBuildConsoleExample/MSBuildConsoleExample/MSBuildConsoleExample.csproj
- msbuild/rest-api-client-generation/PetReaderExecTaskExample/PetReaderExecTaskExample/PetReaderExecTaskExample.csproj
- msbuild/.../PetReaderToolTaskExample/PetReaderToolTaskExample/PetReaderToolTaskConsoleApp/PetReaderToolTaskConsoleApp.csproj
- msbuild/.../PetReaderToolTaskExample/PetReaderToolTaskExample/RestApiClientGenerator.Test/RestApiClientGenerator.Test.csproj
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
- 8m
- Merged PRs (30d)
- 1
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.
More from dotnet/samples
-
dotnet-target-version
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
dotnet-target-version
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
dotnet-target-version
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·