32feet
32feet copied to clipboard
Operation is not supported in this platform
I installed InTheHandBluetoothLe and microsoft.windows.cswinrt libraries and only wrote a single method and got this error.
You'll need to give more information - is this a donet standard or a dotnet core project, are you using unity (and if so, mono etc) and maybe some other things.
I get this same exception when using this method in .NET 5.
Should be PlatformNotSupportedException due to https://docs.microsoft.com/en-us/dotnet/core/compatibility/interop/5.0/built-in-support-for-winrt-removed
What is your target platform - which Windows 10 version? Is it older than 10.0.19041?
It was just my guess what it could be. I managed to link my .net 5 exe with InTheHand.BluetoothLE and scan for devices, ran into other issue, will fill it soon.