Add nuget.config file to fix NU1507 by only allowing nuget.org as package source. see: https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping and https://github.com/dotnet/sdk/issues/25379 (#10396)

This commit is contained in:
Dave Senn 2024-01-06 21:44:10 +01:00 committed by GitHub
parent 04dddd3a7b
commit 615089228a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

8
nuget.config Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<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" />
</packageSources>
</configuration>