konveyor/rulesets

Rules for dotnet: Replaced target framework property

Open

#261 opened on 2025年3月10日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)Java (49 forks)auto 404
good first issuekind/featurepriority/backlogtriage/accepted

Repository metrics

Stars
 (6 stars)
PR merge metrics
 (PR metrics pending)

説明

https://learn.microsoft.com/en-us/visualstudio/ide/visual-studio-multi-targeting-overview?view=vs-2022

When moving from .NET framework to modern versions of .NET, the property for targeting the chosen framework in .csproj file has changed.

For example when updating a legacy .NET v4.8 application to .NET 9, what used to be

<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>

would become <TargetFramework>net9.0</TargetFramework>

コントリビューターガイド