I have problem with barcode scanner randomly disconnecting from serial port so I want to try using newer version of System.IO.Ports.SerialPort which is available via NuGet package.
.NET Framework 4.8.0 SerialPort is version 4.0.0.0, NuGet SerialPort is version 6.0.0.0. I was thinking about assembly redirect, but here is stated, that assembly redirect is not for this purpose.
How to use newer version of SerialPort?