Commit b8ec8dd
Nick Ficano
fix: add Private=false to ProjectReference to fully eliminate NU5050
The previous fix (Pack=false + PrivateAssets=all) was incomplete.
Pack=false stops the project-reference mechanism from adding Arcp.dll
a second time, but Arcp.dll was *still* being copied into Arcp.Cli's
build-output directory (bin/.../net10.0/) because Private defaults to
true. The NuGet pack task for PackAsTool=true maps every file in that
output directory to tools/net10.0/any/ — colliding with the copy that
dotnet publish (run internally by dotnet pack) already places there.
Private=false prevents the copy into the build-output dir, so the pack
task only ever sees one source for Arcp.dll: the publish output.1 parent ad408e9 commit b8ec8dd
1 file changed
Lines changed: 29 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
20 | 41 | | |
21 | | - | |
| 42 | + | |
22 | 43 | | |
| 44 | + | |
23 | 45 | | |
24 | 46 | | |
25 | 47 | | |
| |||
0 commit comments