Skip to content

[Bug Bash] The “Remove” button should be disable when no package source mapping is selected in the “Package Source Mappings” list  #13115

@CiciLi1

Description

@CiciLi1

NuGet Product Used

Visual Studio Package Management UI

Product Version

NuGet Client Dev\6.9.0.69

Worked before?

No response

Impact

It bothers me. A fix would be nice

Repro Steps & Context

Repro Steps:       

  1. Create a .NET Core Console App project via VS.

  2. Right-click the project in Solution Explorer and select ‘Manage NuGet Packages…’ menu item to open PM UI.

  3. Click the “settings” button on the right panel and click “Package Source Mapping” tab.

  4. Click “Add” button, type a string in the package pattern textbox and select a package source in the source list below.

  5. Click “Add” button on the bottom.

  6. Observe the "Remove" button when no package source mapping is selected.

Expected:     

The “Remove” button should be disable.

Actual:        

This button is available as below: 
RemoveButton

Notes:    

1.The repro rate is 100%.  
2.This is not a regression since it is a new feature.    

Verbose Logs

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions