数据库
is not supported on this platform
Microsoft.Data.SqlClient is not supported on this platform System.Data.SqlClient is not supported on this platform
实测:类库中引用了其中一个包,在主模块中调用报 is not supported on this platform 错误,则仅需在主模块中nuget中添加类库中引用的包即可,改问题同样在串口包 System.IO.Prots 中,也是同样的解决方法。