System.IO.Ports is currently only supported on Windows

在Unigine中使用串口,报System.IO.Ports is currently only supported on Windows错误。
后来发现,框架是.net 5.0.改成6.0或者7.0就好了。
在这里插入图片描述
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_41487423/article/details/129518830