Skip to content

Commit bad8849

Browse files
authored
Explain what Package Source Mapping is (#3218)
1 parent 7c43b0b commit bad8849

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/consume-packages/Package-Source-Mapping.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,19 @@ f1_keywords:
1111

1212
# Package Source Mapping
1313

14-
Safeguarding your software supply chain is crucial if you use a mix of public and private package sources.
15-
Use Package Source Mapping along side other [best practices](..\concepts\Security-Best-Practices.md) to help you fortify your supply chain against attacks.
14+
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.
1615

17-
Starting with [NuGet 6.0](..\release-notes\NuGet-6.0.md), you can centrally declare which source each package in your solution should restore from in your nuget.config file.
16+
By default, NuGet will search all configured package sources when it needs to download a package.
17+
When a package exists on multiple sources, it may not be deterministic which source the package will be downloaded from.
18+
With Package Source Mapping, you can filter, per package, which source(s) NuGet will search.
1819

19-
Starting with Visual Studio 17.5, you can add and remove Package Source Mappings with the Visual Studio Options Dialog
20+
We also have suggestions for other [best practices](..\concepts\Security-Best-Practices.md) to help you fortify your supply chain against attacks.
21+
22+
Package Source Mapping was added in [NuGet 6.0](..\release-notes\NuGet-6.0.md).
23+
Starting with Visual Studio 17.5, you can add and remove Package Source Mappings with the Visual Studio Options Dialog.
2024

2125
### Visual Studio support
26+
2227
| Visual Studio | Package Source Mapping | Support in Tools -> Options | Support in Package Manager UI |
2328
|-----|---------------------|---------------------|---------------------|
2429
| 17.0 - 17.4 | ✅ Available | ❌ Not available | ❌ Not available |

0 commit comments

Comments
 (0)