Dear sirs,
i recently installed WOR to RPI4-8GB, but no GPIO device can be found in device manager.
Windows is version 11 Pro 23H2 build 22631.3085
I tried build a demo project in c# to test if GPIO is accessible:
using System.Device.Gpio;
using var controller = new GpioController();
controller.OpenPin(21, PinMode.InputPullUp);
but when i run code, it fails with error:
System.PlatformNotSupportedException: 'In order to use Windows10Driver on Windows with .NET 5.0 it is required for your application to target net6.0-windows10.0.17763.0 or higher. Please add that to your target frameworks in your project file.'
Can you confirm me your successful test to access to GPIO using .NET on WOR?
Dear sirs, i recently installed WOR to RPI4-8GB, but no GPIO device can be found in device manager.
Windows is version 11 Pro 23H2 build 22631.3085
I tried build a demo project in c# to test if GPIO is accessible:
using System.Device.Gpio; using var controller = new GpioController(); controller.OpenPin(21, PinMode.InputPullUp);
but when i run code, it fails with error: System.PlatformNotSupportedException: 'In order to use Windows10Driver on Windows with .NET 5.0 it is required for your application to target net6.0-windows10.0.17763.0 or higher. Please add that to your target frameworks in your project file.'
Can you confirm me your successful test to access to GPIO using .NET on WOR?
Thanks, Petr