Repository navigation
Commit 6fc28cb
committed
fix(manifest): dotnet compiler inputs from a design-time build, build-delivered prod packages
- Read each build's compiler inputs from a design-time build in the shape
of Roslyn's MSBuildWorkspace, in one build session: sources in compile
order with generated ones, every reference including framework reference
packs, analyzers, nullable, and VB's FinalDefineConstants. A failed build
falls back to the evaluated values plus the SDK's implicit symbols and
records the first error.
- A package with active build files and no nuspec developmentDependency
declaration counts as prod: build targets can copy files into the output.
- Resolve the entry's symlinks once, so restore's paths through a symlinked
directory no longer read as a project sharing another's obj/.
- --exclude-base anchors --exclude-paths outside the build root.1 parent 61d2036 commit 6fc28cb
11 files changed
Lines changed: 322 additions & 64 deletions
File tree
- src/commands/manifest/scripts
- dotnet-tool
- test/dotnet-compat
- dev
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
547 | 548 | | |
| 549 | + | |
548 | 550 | | |
549 | 551 | | |
550 | 552 | | |
| |||
554 | 556 | | |
555 | 557 | | |
556 | 558 | | |
557 | | - | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
558 | 563 | | |
559 | 564 | | |
560 | 565 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
| 662 | + | |
662 | 663 | | |
| 664 | + | |
663 | 665 | | |
664 | 666 | | |
665 | 667 | | |
666 | 668 | | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
667 | 673 | | |
668 | 674 | | |
669 | 675 | | |
| |||
699 | 705 | | |
700 | 706 | | |
701 | 707 | | |
| 708 | + | |
702 | 709 | | |
| 710 | + | |
703 | 711 | | |
704 | 712 | | |
705 | 713 | | |
706 | 714 | | |
707 | 715 | | |
708 | 716 | | |
709 | | - | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
710 | 724 | | |
711 | 725 | | |
712 | 726 | | |
713 | 727 | | |
714 | 728 | | |
715 | 729 | | |
| 730 | + | |
716 | 731 | | |
| 732 | + | |
717 | 733 | | |
718 | 734 | | |
719 | 735 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| |||
137 | 140 | | |
138 | 141 | | |
139 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
140 | 149 | | |
141 | 150 | | |
142 | | - | |
143 | | - | |
144 | 151 | | |
145 | 152 | | |
146 | 153 | | |
| |||
308 | 315 | | |
309 | 316 | | |
310 | 317 | | |
311 | | - | |
312 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
313 | 322 | | |
314 | 323 | | |
315 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
316 | 333 | | |
317 | 334 | | |
318 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
0 commit comments