32feet
32feet copied to clipboard
InTheHand.BluetoothLE : Targeting net6 (WebAssembly)
In a WebAssembly PlatformUno based project, I'm targeting "net6".
[...]
<TargetFramework>net6.0</TargetFramework>
[...]
<PackageReference Include="InTheHand.Net.Bluetooth" Version="4.0.33.1" />
<PackageReference Include="InTheHand.BluetoothLE" Version="4.0.27" />
[...]
and I'm getting the following error:
Error NETSDK1149 InTheHand.BluetoothLE.dll cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher. An updated version of the component supporting .NET 5 is needed. For more information, see https://aka.ms/netsdk1149 UnoFigma.Wasm C:\Program Files\dotnet\sdk\7.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets 1027
Is there a plan to support such scenario? Blazor appears to have Bluetooth access: https://github.com/valerii-sovytskyi/Blazor.Bluetooth
WebAssembly support is planned, but not available yet.