forked from NuGet/Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuget.config
33 lines (28 loc) · 1.2 KB
/
nuget.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- Create a repo-specific global packages folder for full security benefit -->
<config>
<add key="globalPackagesFolder" value="globalPackagesFolder" />
</config>
<!-- Declare package sources/feeds -->
<packageSources>
<!-- To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
<add key="nuget-build" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/nuget-build/nuget/v3/index.json" />
</packageSources>
<!-- Map package ID prefixes and exact package IDs to specific sources target sources, so you always know where your packages come from -->
<packageSourceMapping>
<packageSource key="nuget">
<package pattern="Microsoft.*" />
<package pattern="Newtonsoft.Json" />
<package pattern="NuGet.*" />
</packageSource>
<packageSource key="nuget-build">
<package pattern="A" />
<package pattern="B" />
<package pattern="C" />
<package pattern="NuGet.Protocol.VisualStudio" />
</packageSource>
</packageSourceMapping>
</configuration>