Skip to content

dotnet list package failes when TestableIO.System.IO.Abstractions.TestingHelpers is added as package #1165

@Dave-Senn

Description

@Dave-Senn

Describe the bug

This may be a problem with the dotnet tool, but I thought I will inform you as well.
Running this command

 dotnet list package --vulnerable --include-transitive --source https://api.nuget.org/v3/index.json 

fails with this error:

warn : An invalid cache entry was found for URL 'https://api.nuget.org/v3/registration5-gz-semver2/system.io.abstractions.testinghelpers/page/1.2.0/1.4.0.76.json' and will be replaced.
warn : '' is not a valid version string.
error: '' is not a valid version string.

This error only occurs when "TestableIO.System.IO.Abstractions.TestingHelpers" is added as package.

To Reproduce

Issue created in the sdk repo: dotnet/sdk#44840

Metadata

Metadata

Assignees

No one assigned

    Labels

    state: needs discussionIssues that need further discussiontype: bugIssues that describe misbehaving functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions