Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InTheHand.BluetoothLE : Targeting net6 (WebAssembly) #260

Open
igiona opened this issue Jan 14, 2023 · 1 comment
Open

InTheHand.BluetoothLE : Targeting net6 (WebAssembly) #260

igiona opened this issue Jan 14, 2023 · 1 comment

Comments

@igiona
Copy link
Contributor

igiona commented Jan 14, 2023

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

@igiona igiona changed the title Targeting net6 (WebAssembly) InTheHand.BluetoothLE : Targeting net6 (WebAssembly) Jan 14, 2023
@peterfoot
Copy link
Member

WebAssembly support is planned, but not available yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Bluetooth LE
Awaiting triage
Development

No branches or pull requests

2 participants