Skip to content

Commit

Permalink
Add clarification regarding target framework symbols (#36771)
Browse files Browse the repository at this point in the history
* Add clarification regarding target framework symbols

* Update includes/preprocessor-symbols.md

Co-authored-by: Immo Landwerth <[email protected]>

---------

Co-authored-by: Immo Landwerth <[email protected]>
  • Loading branch information
Chasmical and terrajobst authored Aug 25, 2023
1 parent 2a64f7e commit a146480
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/preprocessor-symbols.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ ms.custom: "updateeachrelease"
> * Versionless symbols are defined regardless of the version you're targeting.
> * Version-specific symbols are only defined for the version you're targeting.
> * The `<framework>_OR_GREATER` symbols are defined for the version you're targeting and all earlier versions. For example, if you're targeting .NET Framework 2.0, the following symbols are defined: `NET20`, `NET20_OR_GREATER`, `NET11_OR_GREATER`, and `NET10_OR_GREATER`.
> * The `NETSTANDARD<x>_<y>_OR_GREATER` symbols are only defined for .NET Standard targets, and not for targets that implement .NET Standard, such as .NET Core and .NET Framework.
> * These are different from the target framework monikers (TFMs) used by [the MSBuild `TargetFramework` property](../docs/standard/frameworks.md#supported-target-frameworks) and [NuGet](/nuget/reference/target-frameworks).

0 comments on commit a146480

Please sign in to comment.