Skip to content

runtime.native.System.IO.Ports v5.0.0 release version nuget package depends on pre-release versions of other packages #47268

@sokolovsa

Description

@sokolovsa

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions