You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Define mappings by adding package patterns beneath the target source. -->
99
+
<!-- Contoso.* packages and NuGet.Common will be restored from contoso.com,
100
+
everything else from nuget.org. -->
101
+
<packageSourceMapping>
102
+
<!-- key value for <packageSource> should match key values from <packageSources> element -->
103
+
<packageSourcekey="nuget.org">
104
+
<packagepattern="*" />
105
+
</packageSource>
106
+
<packageSourcekey="contoso.com">
107
+
<packagepattern="Contoso.*" />
108
+
<packagepattern="NuGet.Common" />
109
+
</packageSource>
110
+
</packageSourceMapping>
111
+
</configuration>
108
112
```
109
113
110
114
Package Source Mapping settings are applied following [nuget.config precedence rules](configuring-nuget-behavior.md#how-settings-are-applied) when multiple `nuget.config` files at various levels (machine-level, user-level, repo-level) are present.
0 commit comments