<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
    <!-- Local source populated by the xtask with the freshly built .nupkg -->
    <add key="local" value="local-packages" />
  </packageSources>

  <!-- NuGet source mapping: the most-specific pattern wins, so Microsoft.Regorus
       always resolves exclusively from "local" even though nuget.org has "*".
       See https://learn.microsoft.com/nuget/consume-packages/package-source-mapping -->
  <packageSourceMapping>
    <packageSource key="nuget.org">
      <package pattern="*" />
    </packageSource>
    <packageSource key="local">
      <package pattern="Microsoft.Regorus" />
    </packageSource>
  </packageSourceMapping>
</configuration>
