The NuGet package Rebex.Terminal.SerialPort (v7.0.8943) has a dependency on System.IO.Ports.
For every framework except net8.0, a stable version of System.IO.Ports is referenced.
net8.0
However, for net8.0 specifically, a pre-release version 8.0.0-preview.4.24266.19 is used (ref. https://www.nuget.org/packages/Rebex.Terminal.SerialPort/7.0.8943#dependencies-body-tab)
8.0.0-preview.4.24266.19
When a .NET 8 project uses Rebex.Terminal.SerialPort, this leads to warnings similar to:
Rebex.Terminal.SerialPort
Warning NU1603 : Rebex.Terminal.SerialPort 7.0.8943 depends on System.IO.Ports (>= 8.0.0-preview.4.24266.19) but System.IO.Ports 8.0.0-preview.4.24266.19 was not found. An approximate best match of System.IO.Ports 8.0.0-preview.5.23280.8 was resolved.
Is there a good reason for this situation? And could a future releases of the SerialPort package start referencing System.IO.Ports v8.0.0 (stable) instead?
SerialPort
System.IO.Ports
Thank you for reporting this. It seems to be a mistake. We will fix it in the next release. If you need fixed version sooner, please let us know.
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
Applications:
If you need immediate assistance, please contact us directly.