Framework Precedence

If multiple sets of assets are available in a package (under different frameworks), NuGet must choose between these frameworks. Enter a project framework to see the order of precedence of possible package frameworks. Note that this list is not exhaustive.

The .NETCoreApp,Version=v7.0 (net7.0-windows10.0.19041.0) project framework has the following package framework precedence list.

Order .NET Framework Name Short Folder Name
1 .NETCoreApp,Version=v7.0 net7.0
2 .NETCoreApp,Version=v6.0 net6.0
3 .NETCoreApp,Version=v5.0 net5.0
4 .NETCoreApp,Version=v3.1 netcoreapp3.1
5 .NETCoreApp,Version=v3.0 netcoreapp3.0
6 .NETCoreApp,Version=v2.2 netcoreapp2.2
7 .NETCoreApp,Version=v2.1 netcoreapp2.1
8 .NETCoreApp,Version=v2.0 netcoreapp2.0
9 .NETCoreApp,Version=v1.1 netcoreapp1.1
10 .NETCoreApp,Version=v1.0 netcoreapp1.0
11 .NETStandard,Version=v2.1 netstandard2.1
12 .NETStandard,Version=v2.0 netstandard2.0
13 .NETStandard,Version=v1.7 netstandard1.7
14 .NETStandard,Version=v1.6 netstandard1.6
15 .NETStandard,Version=v1.5 netstandard1.5
16 .NETStandard,Version=v1.4 netstandard1.4
17 .NETStandard,Version=v1.3 netstandard1.3
18 .NETStandard,Version=v1.2 netstandard1.2
19 .NETStandard,Version=v1.1 netstandard1.1
20 .NETStandard,Version=v1.0 netstandard1.0
21 .NETStandard,Version=v0.0 netstandard
22 Agnostic,Version=v0.0 agnostic
23 Any,Version=v0.0 any