Commit e8b0802
authored
Improve PackageId/IsPackable defaulting
By preserving the project-defined PackageId and restoring it (potentially empty), we respect the project's choice.
Also, it makes no sense for an empty PackageId to have IsPackable after pack imports+restore, so we default it back to false in that case.1 parent 6e24389 commit e8b0802
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
39 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
0 commit comments