32feet icon indicating copy to clipboard operation
32feet copied to clipboard

Operation is not supported in this platform

Open orcunor opened this issue 3 years ago • 5 comments

err1

I installed InTheHandBluetoothLe and microsoft.windows.cswinrt libraries and only wrote a single method and got this error.

orcunor avatar May 27 '21 07:05 orcunor

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.

stephen-systemfriend avatar Jun 14 '21 06:06 stephen-systemfriend

I get this same exception when using this method in .NET 5.

David-1251 avatar Aug 18 '21 11:08 David-1251

Should be PlatformNotSupportedException due to https://docs.microsoft.com/en-us/dotnet/core/compatibility/interop/5.0/built-in-support-for-winrt-removed

r-pankevicius avatar Mar 21 '22 19:03 r-pankevicius

What is your target platform - which Windows 10 version? Is it older than 10.0.19041?

peterfoot avatar Mar 22 '22 12:03 peterfoot

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.

r-pankevicius avatar Mar 22 '22 16:03 r-pankevicius