The error NETSDK1130 typically indicates that a certain platform or feature is not supported by the target framework you're using for your project. In your case, it seems like the issue arises when trying to integrate Windows.Devices.Bluetooth
in an ASP.NET web application. This namespace is primarily designed for use in UWP (Universal Windows Platform) applications, and it might not be directly compatible with a web application project.
Consider using cross-platform Bluetooth libraries that are compatible with .NET Core or .NET 5/6. Some popular libraries include:
-
InTheHand.Net.Bluetooth
-
32feet.NET