Resolve NuGet.config issues in the VMR (#16386)

Co-authored-by: Matt Thalman <mthalman@microsoft.com>
This commit is contained in:
Přemek Vysoký 2023-05-14 06:09:25 -07:00 committed by GitHub
parent 4e17adfc4e
commit b45effa18f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This empty NuGet.config at the root of the repo ensures that a global/default one
(referencing nuget.org) is not used by accident.
The individual repo NuGet.config files are utilized during the build.
-->
<configuration>
<packageSources>
<clear />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
</disabledPackageSources>
</configuration>

View file

@ -144,7 +144,9 @@
"src/humanizer/samples/**/*.js",
"src/application-insights/**/*.exe",
"src/application-insights/**/*.dll",
"src/application-insights/**/*.zip"
"src/application-insights/**/*.zip",
"src/application-insights/**/NuGet.config",
"src/newtonsoft-json/**/NuGet.Config"
]
},
{