You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release version of runtime.native.System.IO.Ports (5.0.0) depends on following packages:
runtime.linux-arm.runtime.native.System.IO.Ports (>= 5.0.0-rtm.20519.4)
runtime.linux-arm64.runtime.native.System.IO.Ports (>= 5.0.0-rtm.20519.4)
runtime.linux-x64.runtime.native.System.IO.Ports (>= 5.0.0-rtm.20519.4)
runtime.osx-x64.runtime.native.System.IO.Ports (>= 5.0.0-rtm.20519.4)
Those are prerelease versions.
So nuget.exe fails to install System.IO.Ports with specific target framework unless -PreRelease is specified.
Example:
This fails: NuGet.exe install System.IO.Ports -Version 5.0.0 -outputdirectory ioports -Framework net5.0 -Verbosity detailed
But this succeeds: NuGet.exe install System.IO.Ports -Version 5.0.0 -outputdirectory ioports -Framework net5.0 -Verbosity detailed -PreRelease
Release versions of nuget packages should not have prerelease dependencies. Please fix.