Skip to content

[Bug Bash] The last selected version in the filtered dropdown list will not show correctly in ‘Version’ dropdown box after typing a part of the version #14622

@v-luzh

Description

@v-luzh

NuGet Product Used

Visual Studio Package Management UI

Product Version

VS Main\11128.256 + NuGet Client Dev\7.1.0.43

Worked before?

It is not a regression since it reproes on 17.14.17 with NuGet 6.14.1.1.

Impact

It bothers me. A fix would be nice

Repro Steps & Context

Notes:

  1. The repro rate is 100%.
  2. It just happens when selecting the last version in ‘Version’ dropdown list, doesn’t repro when selecting other versions.

Repro Steps:

1.Create a C# Console App (.NET 10.0) in VS.
2.Right-Click the project in the Solution Explorer window and select ‘Manage NuGet Packages…’.
3.Select the source “nuget.org” in the “Package source:” drop-down list and go to “Browse” tab.
4.Click a package (e.g. ‘NUnit’) and type a part of a valid version (e.g. 3.13) in the "Version" drop-down box on the right panel.
5.Click the arrow-down button and select the last version at the bottom of the dropdown list.

Expected Result:

The last selected version (in this instance is ‘3.13.0’) should show successfully in the ‘Version’ dropdown box.

Actual Result:

The last selected version will not show correctly in ‘Version’ dropdown box as the screenshot below.

Image

Verbose Logs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions