A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1135 below:

NETSDK1135: SupportedOSPlatformVersion can't be higher than TargetPlatformVersion - .NET CLI

NETSDK1135: SupportedOSPlatformVersion can't be higher than TargetPlatformVersion

In this article

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 than TargetPlatformVersion <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.

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.

Additional resources

In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4