CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 07:41:42 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/"c988954f9fb6bb2423c5bc5e99ad43e1"
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=USTo9zQrgJsYrCgM%2FYpdwkl6y5zYMHKXrG6xGEw%2FnuFraPSfG58LIZjr1AK9z4HvAeTdbUMkvqNa304aLTOQ8VN74Q8HN%2BorCZkA6W6pS6bIZ9CvfAZxz5UBQ0nz05TEB0BNMKmmQYHL2zrmE5eYdfnAQTMzxZ5n0w5eOmCTfPrFkIY1kKdBcssgstDGKtDsg%2BAjdngE9NsnLd3ZpNyGCAzVREajnY%2FCdpddEqu3grMFXXoYgb7Gl5jymeGC2AII%2FMIa2RuzEHoy33EaMBuLKg%3D%3D--psPU58ifIgBdUAws--XPCgsjc8UVkmfOy%2Fsh97Qg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.313773946.1753342902; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 07:41:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 07:41:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A21A:3644F0:15EF30D:1A66557:6881E3B5
Automatically set EnableSourceLink for in-repo builds only (#13666) · microsoft/react-native-windows@401416f · GitHub
Copy file name to clipboardExpand all lines: .ado/templates/msbuild-sln.yml
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: packages/@react-native-windows/automation-channel/windows/AutomationChannel/packages.lock.json
Copy file name to clipboardExpand all lines: packages/e2e-test-app-fabric/windows/ExperimentalFeatures.props
Copy file name to clipboardExpand all lines: packages/e2e-test-app/windows/ExperimentalFeatures.props
Copy file name to clipboardExpand all lines: packages/e2e-test-app/windows/RNTesterApp/packages.lock.json
Copy file name to clipboardExpand all lines: packages/integration-test-app/windows/ExperimentalFeatures.props
Copy file name to clipboardExpand all lines: packages/integration-test-app/windows/InteropTestModuleCS/packages.lock.json
Copy file name to clipboardExpand all lines: packages/playground/windows/ExperimentalFeatures.props
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit 401416f
authored
Automatically set EnableSourceLink for in-repo builds only (#13666)
## Description
SourceLink is needed to ensure that our NuGet packages have matching source information when symbols are resolved. So we have an `EnableSourceLink` property which tells some of our projects to add source link, and we enable that when doing CI/PR/official builds by setting the property to true when we call msbuild in our pipelines.
This PR makes it so that instead of having to pass that property, the projects themselves automatically build with source link when they need to.
### Type of Change
- New feature (non-breaking change which adds functionality)
### Why
This makes it so that local builds of RNW are closer to the the same nuget restore behavior / packages.lock.json file as when they're built in pipelines.
This is part is working toward resolving #12004 and this functionality was extracted from PR #13634.
### What
Instead of requiring us to call msbuild with `/p:EnableSourceLink=true` for every solution (or relying on setting it in `ExperimentalFeatures.props`) we now detect when our library projects are being built within the repo (detecting the `src-win` folder which isn't present in the NPM publish) and enable source link then.
## Screenshots
N/A
## Testing
N/A
## Changelog
Should this change be included in the release notes: _yes_
Automatically set EnableSourceLink for in-repo builds only1 parent d5f6f17 commit 401416fCopy full SHA for 401416f
File tree
Expand file treeCollapse file tree
28 files changed
+494
-214
lines changedFilter options
- .ado/templates
- change
- packages
- @react-native-windows/automation-channel/windows/AutomationChannel
- e2e-test-app-fabric/windows
- e2e-test-app/windows
- RNTesterApp
- integration-test-app/windows
- InteropTestModuleCS
- playground/windows
- playground-composition.Package
- playground-composition
- playground
- sample-app-fabric/windows
- SampleAppFabric.Package
- SampleAppFabric
- sample-apps/windows
- sample-custom-component/windows/SampleCustomComponent
- vnext
- Desktop.ABITests
- Microsoft.ReactNative.ComponentTests
- Microsoft.ReactNative.Cxx.UnitTests
- Microsoft.ReactNative.IntegrationTests
- Microsoft.ReactNative.Managed.IntegrationTests
- Microsoft.ReactNative.Managed.UnitTests
- Microsoft.ReactNative
- Mso.UnitTests
- ReactCommon.UnitTests
Expand file treeCollapse file tree
28 files changed
+494
-214
lines changed.ado/templates/msbuild-sln.yml
Copy file name to clipboardExpand all lines: .ado/templates/msbuild-sln.yml-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
49 | 48 |
| |
50 | 49 |
| |
51 | 50 |
| |
|
change/@react-native-windows-automation-channel-cdf3494b-8b7b-408b-99bb-5475878c5315.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-7e8daf8e-8d48-4d74-82ae-ad9be130a75b.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/automation-channel/windows/AutomationChannel/packages.lock.json
Copy file name to clipboardExpand all lines: packages/@react-native-windows/automation-channel/windows/AutomationChannel/packages.lock.json+41-69Lines changed: 41 additions & 69 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
5 | 14 |
| |
6 | 15 |
| |
7 | 16 |
| |
8 | 17 |
| |
9 | 18 |
| |
10 | 19 |
| |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 |
| - | |
52 |
| - | |
| 51 | + | |
| 52 | + | |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 |
| - | |
| 77 | + | |
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
99 | 95 |
| |
100 | 96 |
| |
101 | 97 |
| |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
110 | 102 |
| |
111 | 103 |
| |
112 | 104 |
| |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
121 | 109 |
| |
122 | 110 |
| |
123 | 111 |
| |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
132 | 116 |
| |
133 | 117 |
| |
134 | 118 |
| |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
143 | 123 |
| |
144 | 124 |
| |
145 | 125 |
| |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
154 | 130 |
| |
155 | 131 |
| |
156 | 132 |
| |
157 |
| - | |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
165 | 137 |
| |
166 | 138 |
| |
167 | 139 |
| |
|
packages/e2e-test-app-fabric/windows/ExperimentalFeatures.props
Copy file name to clipboardExpand all lines: packages/e2e-test-app-fabric/windows/ExperimentalFeatures.props-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
|
packages/e2e-test-app/windows/ExperimentalFeatures.props
Copy file name to clipboardExpand all lines: packages/e2e-test-app/windows/ExperimentalFeatures.props-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
|
packages/e2e-test-app/windows/RNTesterApp/packages.lock.json
Copy file name to clipboardExpand all lines: packages/e2e-test-app/windows/RNTesterApp/packages.lock.json+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
96 |
| - | |
| 96 | + | |
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
|
packages/integration-test-app/windows/ExperimentalFeatures.props
Copy file name to clipboardExpand all lines: packages/integration-test-app/windows/ExperimentalFeatures.props-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
|
packages/integration-test-app/windows/InteropTestModuleCS/packages.lock.json
Copy file name to clipboardExpand all lines: packages/integration-test-app/windows/InteropTestModuleCS/packages.lock.json+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
88 |
| - | |
| 88 | + | |
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
|
packages/playground/windows/ExperimentalFeatures.props
Copy file name to clipboardExpand all lines: packages/playground/windows/ExperimentalFeatures.props-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
9 | 8 |
| |
10 | 9 |
| |
11 | 10 |
| |
|
You can’t perform that action at this time.
0 commit comments