Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/reference/nuget-config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,16 @@ Below is an example `nuget.config` file that illustrates a number of settings in
<add key="MyRepo - ES" value="https://MyRepo/ES/nuget" />
</packageSources>

<!-- Used to enforce that certain packages only come from specific package sources. -->
<packageSourceMapping>
<packageSource key="MyRepo - ES">
<package pattern="ES.*" />
</packageSource>
<packageSource key="NuGet official package source">
<package pattern="*" />
</packageSource>
</packageSourceMapping>

<!-- Used to store credentials -->
<packageSourceCredentials />

Expand Down