Nuget.config package source mapping to limit hits to azure dev feed

This commit is contained in:
Caelan Sayler
2024-01-14 14:10:28 +00:00
parent 858a692ed9
commit 2aa36760c9

View File

@@ -1,8 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
<add key="CommandLineNightly" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
</packageSources>
<packageSources>
<clear />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
<add key="CommandLineNightly" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
</packageSources>
<packageSourceMapping>
<packageSource key="CommandLineNightly">
<package pattern="System.CommandLine" />
</packageSource>
<packageSource key="NuGet.org">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
</configuration>