diff options
| author | Dave Senn <dave.jon.senn@gmail.com> | 2024-01-06 21:44:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-06 13:44:10 -0700 |
| commit | 615089228a9c456f480d328aa3eb11017a3cb857 (patch) | |
| tree | 3bc719921d9ee8bcd7c039d923696ec50048f9c9 /nuget.config | |
| parent | 04dddd3a7b3911ef9a3e83c85aa5419e8db2fa38 (diff) | |
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)
Diffstat (limited to 'nuget.config')
| -rw-r--r-- | nuget.config | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuget.config b/nuget.config new file mode 100644 index 000000000..54e660f9c --- /dev/null +++ b/nuget.config @@ -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>
\ No newline at end of file |
