-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathnuget.config
More file actions
21 lines (21 loc) · 923 Bytes
/
Copy pathnuget.config
File metadata and controls
21 lines (21 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="azure-default" value="https://packagefeedproxy.microsoft.io/nuget/v3/index.json" protocolVersion="3" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<!--
When CentralPackageManagement is enabled, the packageSourceMapping element helps to remove NU1507 errors.
See: https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping#enable-by-manually-editing-nugetconfig
-->
<packageSourceMapping>
<!-- key value for <packageSource> should match key values from <packageSources> element -->
<packageSource key="azure-default">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
<disabledPackageSources>
<add key="nuget.org" value="true" />
</disabledPackageSources>
</configuration>