-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
For a framework with a platform such as android/windows/linux, there are 2 parts.
TargetFrameworkMoniker, usually denoting the netX.Y part, ex. .NETCoreApp,Version=7.0
TargetPlatformMoniker, usually denoting the PlatformNameA.B ex. Windows=Version=7.0
If you create a project for say android such as net7.0-android, the .NET SDK would automatically add a TargetPlatformVersion. That is something that is known by the SDK only at build time.
I couldn't find anything documenting this logic, or anything correlating platform version with which version of the SDK is supported for example or something explaining the meaning of the platform versions.
https://github.com/NuGet/docs.microsoft.com-nuget/issues/3076 is relevant. NuGet simply doesn't know the available framework.
Document Details
β Do not edit this section. It is required for learn.microsoft.com β GitHub issue linking.
- ID: 49205137-dcec-a120-e5e7-1b9c79cdafbb
- Version Independent ID: 4352856b-5ccf-8e62-48b4-3151340cac56
- Content: Target frameworks in SDK-style projects - .NET
- Content Source: docs/standard/frameworks.md
- Product: dotnet
- Technology: dotnet-standard
- GitHub Login: @gewarren
- Microsoft Alias: gewarren