File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,8 +161,23 @@ target path, and `cuda-core` source builds and tests fail.
161161
162162On native Windows, materialize the current symlink as follows:
163163
164- 1 . ** [ Activate Developer Mode] ( https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development#activate-developer-mode ) **
165- so Git can create symlinks without Administrator privileges.
164+ 1 . ** [ Activate Developer Mode] ( https://learn.microsoft.com/en-us/windows/advanced-settings/developer-mode ) **
165+ so Git can create symlinks without Administrator privileges. Then verify
166+ that Windows recorded Developer Mode in the machine-wide registry:
167+
168+ ``` console
169+ $ reg.exe query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /v AllowDevelopmentWithoutDevLicense
170+ ```
171+
172+ The output must show ` AllowDevelopmentWithoutDevLicense ` as a ` REG_DWORD `
173+ with value ` 0x1 ` . If the value is missing or differs, Git may report
174+ ` unable to create symlink ...: Permission denied ` even when Windows Settings
175+ shows Developer Mode as enabled. In that case, run the following command
176+ once from an Administrator shell:
177+
178+ ``` console
179+ $ reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /v AllowDevelopmentWithoutDevLicense /t REG_DWORD /d 1 /f
180+ ```
166181
1671822 . ** Enable Git symlink support globally** so newly-cloned repositories inherit
168183 the setting:
You can’t perform that action at this time.
0 commit comments