Skip to content

When renaming a Package Source, any existing Source Mappings need to be updated #12936

Open
@donnie-msft

Description

@donnie-msft

NuGet Product(s) Affected

Visual Studio Package Management UI

Current Behavior

When renaming a package source (eg, from nuget.org to nuget.org2), all source mappings to nuget.org will no longer work. This is because the source name is used in mappings.

Desired Behavior

Consider at least one of the following behavior changes when editing a package source in VS Options:

  1. Also rename the source in the source mappings for that package source that was edited.
  2. Show a warning that any existing source mappings need to be updated.

Additional Context

No response

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