CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 22:16:03 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/microsoft/react-native-windows.git
etag: W/"cb781191875b0621a2488760efa0ada9"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=nxwK15ms%2FydNj5EnPrUXcN6sJF8Cj88WTFMLxtJDKc7%2BCt5gM7paQmRWgZKF%2F7FyzMhyTfMwLb1U3i7GF%2Bq%2FgzDlDBRyUls4m1EboeBDYUgoOFBkoEE4G0OrzaUVvMLdhxe%2BE1toRl%2BYosmBAlbriURfcvEIX9Rlr8BBubsUunOyrKs4FtDMfDmECVSBq%2Bv8nHNXIfe66f%2Fb%2BL%2FCWPW6K8m0k8VIjeaY%2FEs2H4i0TMhMwB8YILewe4WIMFv29ez2FMcbkPq%2BQu5QiQyAQyxN%2Fw%3D%3D--j5v2XimNJXLR8kSt--IYVkL4T0eXh%2FL9MHwfNqOw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.383170008.1753568162; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 22:16:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 22:16:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BDE2:242CC6:934F8C:C013AF:688553A2
Update the `cpp-lib` template project to support importing either pap… · microsoft/react-native-windows@d1f46f7 · GitHub
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: packages/@react-native-windows/cli/src/commands/config/configUtils.ts
Copy file name to clipboardExpand all lines: packages/sample-custom-component/windows/SampleCustomComponent/SampleCustomComponent.vcxproj
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: vnext/templates/cpp-lib/windows/MyLib/MyLib.vcxproj
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit d1f46f7
authored
Update the
## Description
This PR creates new "entry" prop/target imports for C++ libraries that depend on the `UseFabric` property to conditionally import either the old Uwp props/targets or the new Composition props/targets.
### Type of Change
- New feature (non-breaking change which adds functionality)
### Why
This helps enable module projects to support both paper and fabric with the same build files.
Resolves #13928.
### What
Added new imports, updated the `cpp-lib` template and existing sample to load them.
## Screenshots
N/A
## Testing
N/A
## Changelog
Should this change be included in the release notes: yes
Update the `cpp-lib` template project to support importing either paper Uwp or fabric Composition prop/targetscpp-lib
template project to support importing either paper Uwp or fabric Composition prop/targets (#13945)1 parent bba47ee commit d1f46f7Copy full SHA for d1f46f7
File tree
Expand file treeCollapse file tree
7 files changed
+60
-8
lines changedFilter options
- change
- packages
- @react-native-windows/cli/src/commands/config
- sample-custom-component/windows/SampleCustomComponent
- vnext
- PropertySheets/External
- templates/cpp-lib/windows/MyLib
Expand file treeCollapse file tree
7 files changed
+60
-8
lines changedchange/@react-native-windows-cli-e586f288-c915-4e23-905d-df2ae20d6777.json
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + |
change/react-native-windows-10791c91-ee8b-489d-a0d2-a8047ec1cd70.json
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + |
packages/@react-native-windows/cli/src/commands/config/configUtils.ts
Copy file name to clipboardExpand all lines: packages/@react-native-windows/cli/src/commands/config/configUtils.ts+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 |
| |
122 | 126 |
| |
123 | 127 |
| |
|
packages/sample-custom-component/windows/SampleCustomComponent/SampleCustomComponent.vcxproj
Copy file name to clipboardExpand all lines: packages/sample-custom-component/windows/SampleCustomComponent/SampleCustomComponent.vcxproj+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
| 68 | + | |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
| |||
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
140 |
| - | |
| 140 | + | |
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
146 |
| - | |
147 |
| - | |
| 146 | + | |
| 147 | + | |
148 | 148 |
| |
149 | 149 |
|
vnext/PropertySheets/External/Microsoft.ReactNative.CppLib.props
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + |
vnext/PropertySheets/External/Microsoft.ReactNative.CppLib.targets
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + |
vnext/templates/cpp-lib/windows/MyLib/MyLib.vcxproj
Copy file name to clipboardExpand all lines: vnext/templates/cpp-lib/windows/MyLib/MyLib.vcxproj+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 |
| - | |
| 69 | + | |
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
| |||
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
134 |
| - | |
| 134 | + | |
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 |
| - | |
146 |
| - | |
| 145 | + | |
| 146 | + | |
147 | 147 |
| |
148 | 148 |
|
You can’t perform that action at this time.
0 commit comments