Skip to content

A tip about package source mapping feature is displayed in VS when the repo has only one package source #13424

Open
@kartheekp-ms

Description

@kartheekp-ms

NuGet Product Used

Visual Studio Package Management UI

Product Version

VS Internal preview version

Worked before?

No response

Impact

Other

Repro Steps & Context

  1. Create a sample Console application
  2. Add a NuGet.Config file to that has only nuget.org as package source to the sample application created above.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
  </packageSources>
</configuration>
  1. Right click on the sample project and selected Manage NuGet Packages..
  2. In the browse tab, select any package.
  3. In Package details pane on the right side notice the information icon that says Package source mapping is off.

I think it is not required to configure package source mapping when the repo has only feed configured. The docs also suggest that Package Source Mapping is a tool that can be used to improve your supply chain security, especially if you use a mix of public and private package sources.

image

Verbose Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area:PackageSourceMappingIssues related to the package source mapping featureFunctionality:VisualStudioUIPackage Manager UI et alPriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Type:DCRDesign Change Request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions