Commit 8b794e0
The root nuget.config previously relied on additive merging with the
user-level %APPDATA%\NuGet\NuGet.Config. On machines that have any
authenticated <packageSource> entries at the user level (common in
enterprise developer setups), `dotnet restore` fans every package out
against every inherited feed, fails authentication, retries, and can
hang 14+ minutes producing hundreds of NU1301 errors before completing
— the very first command a new contributor runs.
Add <clear /> inside <packageSources> so only reactor-local and
nuget.org are used. Also clear <disabledPackageSources> so a user-level
disabled entry can't silently turn one of them off. This matches the
convention already used by the repo's own test-fixture NuGet.configs
(tests/startup_perf/BlankRNW, tests/stress_perf_rn/*).
Verified `dotnet nuget list source` shows only the two intended sources
and a fresh restore of src/Reactor.Cli completes cleanly.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 242b8e2 commit 8b794e0
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
0 commit comments