The get nearest framework operation is what NuGet uses to select one framework from many available framework assets in a package based on the project's framework. Enter one project framework and one or more package frameworks.
The net6.0 (net6.0)
package framework is the nearest to the net7.0
(net7.0) project framework.