Error NETSDK1135 SupportedOSPlatformVersion 10.0.18362.0 cannot be higher than TargetPlatformVersion 7.0


I’m trying to integrate the Auth0 SDK (Auth0.OidcClient.WPF version 3.2.5) into an existing .net 6.0 WPF App.

Anyway, as soon as I add the Auth0.OidcClient.WPF package I got the following error:

|Error|NETSDK1135|SupportedOSPlatformVersion 10.0.18362.0 cannot be higher than TargetPlatformVersion 7.0.

Im using the .net SDK 6.0.302.

I thought that this could be a compatibility issue with some other libraries that I use, but even with a clean project I get the same errors.
Can you give me some suggestions to fix it, please?

Thank you

I am seeing the same issue trying to use Auth0.OidcClient.Winforms 3.2.7.
Did you resolve this?

Hey there!

In order to solve that, can I ask you to raise a GitHub issue here?

This way we’ll be able to work on that directly with the repo maintainers. Once you have a link to it you can share it here so we can ping them.