NETSDK1135: SupportedOSPlatformVersion can't be higher than TargetPlatformVersion
The value that your project file specifies for SupportedOSPlatformVersion
is too high. The full error message is similar to the following example:
SupportedOSPlatformVersion
<Version>
cannot be higher thanTargetPlatformVersion
<Version>
.
Check your project files for SupportedOSPlatformVersion
. TargetPlatformVersion
(TPV) is inferred from the TargetFramework
value. For example, net6.0-windows10.0.19041
will set the TPV to be 10.0.19041
. .NET uses TargetPlatformVersion
to determine which APIs are available at compile time.
Sadarbojieties ar mums vietnē GitHub
Šī satura avotu var atrast vietnē GitHub, kur varat arī izveidot un pārskatīt problēmas un atgādāšanas pieprasījumus. Lai iegūtu papildinformāciju, skatiet mūsu līdzstrādnieku rokasgrāmatu.