Commit 4c6acb4
Fix/playground composition build (#16199)
* Fix playground-composition build failures
- Add missing 'Global' line to playground-composition.sln that caused
autolink to corrupt the solution file (MSB5010)
- Update SampleCustomComponent path to node_modules and remove
ProjectSection to prevent autolink from adding duplicate entries (MSB5004)
- Exclude @react-native-picker/picker from autolinking when targeting
composition, as it is a UWP/Paper component incompatible with
Win32/WinAppSDK (WindowsAppSDK transitive dependency error)
- Use $(DefaultPlatformToolset) instead of hardcoded v143 in
Playground-Composition.vcxproj and SampleCustomComponent.vcxproj
for forward compatibility with newer VS versions
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix playground-composition parallel build and lock file issues
- Align ProjectReference in Playground-Composition.vcxproj to use the same
node_modules path as the .sln, preventing parallel build collisions when
MSBuild resolves the same project via two different paths (C1041/FTK1011)
- Add /FS flag to SampleCustomComponent for synchronized PDB writes
- Disable RestoreLockedMode for playground-composition local dev builds
to prevent NU1004 errors from stale lock files
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Anukrati Agrawal <anuagra@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2886581 commit 4c6acb4
5 files changed
Lines changed: 12 additions & 8 deletions
File tree
- packages
- playground
- windows
- playground-composition
- sample-custom-component/windows/SampleCustomComponent
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 31 | + | |
35 | 32 | | |
| 33 | + | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments