You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started a new console program to have a test, then I met the PlatformNotSupportedException when i called the ScanForDevicesAsync() method. Here is my project info:
In order for the correct platform implementation to be used you have to include the full targetframework - not just net6.0. The currently supported Windows platform is net7.0-windows10.0.19041 which will run on Windows 10 19041 and above. You'd have to step back to an earlier version for .NET 6.0 - Microsoft stopped supporting .NET 6.0 last November.
I just started a new console program to have a test, then I met the PlatformNotSupportedException when i called the ScanForDevicesAsync() method. Here is my project info:
And my demo code:
Are there any prerequisites for a console program?
The text was updated successfully, but these errors were encountered: