'.NET Upgrade Assistant upgrading a library built with .NET Framework 4.6.1 to netstandard2.0

I have a .NET Framework 4.6.1 project. I'm following instructions on this .NET Upgrade Assistant Page to upgrade to .NET 6.0. After I completed the upgrade, I looked at the project file. The Upgrade tool upgraded the v4.6.1 to netstandard2.0.

Shouldn't the project be upgraded to .NET 6.0 and not netstandard2.0? Is it not possible to upgrade to .NET 6.0 from .NET Framework 4.6.1.

<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>

to

<TargetFramework>netstandard2.0</TargetFramework>



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source