I got an Invalid argument exception when deploying .net core 3.1 on linux x64 of VMware for virtual serial port communication.It works well with the same code on windows.