I want to debug some serial devices on HoloLens (Win on ARM64) via docking station, the namespace System.IO.Ports
may not supported by HoloLens 2. And I want to use the namespace Windows.Devices.Enumeration
to scan the serial ports, but I get the following error:
error CS0246: The type or namespace name 'Windows' could not be found
(are you missing a using directive or an assembly reference?)
My editor versions are VS2022 and Unity2022.3.3f1c1,
Api compatible level is. NET Framework,
The script backend is IL2CPP,
Target SDK version is 10.0.22621.0 (minimum version 10.0.18362.0).
Any help greatly appreciated!!