Repository navigation
Commit 9523479
Skip building project references in no-dependencies publishes
dotnet publish accepts --no-dependencies but still builds project
references, unlike dotnet build. Integration tests on .NET Core hosts
therefore rebuilt the whole benchmark project graph for every publishing
partition (NativeAOT, Mono, Wasm, R2R, CoreRun), including the running
test project, whose locked output could fail the build when a referenced
DLL went stale mid-run.
Pass /p:BuildProjectReferences=false alongside --no-dependencies, and keep
the generated build script in sync.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 32c8cb6 commit 9523479
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
130 | | - | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| |||
0 commit comments