Skip to content

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

Open

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

Activity

  1. added
    state: needs discussion
    type: bug
    on Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    state: needs discussiontype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions