Commit 9f4ed4b
Use %ProgramW6432% path for 32-bit apps (#75)
Context: https://docs.microsoft.com/en-us/windows/win32/winprog64/wow64-implementation-details#environment-variables
Use the `%ProgramW6432%` environment variable (if available) so that
both **Prefer 32-bit**=false and **Prefer 32-bit**=true apps can get
the path. Otherwise `Environment.SpecialFolder.ProgramFiles` returns
`"C:\Program Files (x86)"` for 32-bit apps on 64-bit OS, which is not
where the Android SDK is installed, and thus path lookup fails.1 parent 294f447 commit 9f4ed4b
File tree
1 file changed
+3
-1
lines changed- src/Xamarin.Android.Tools.AndroidSdk/Sdks
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
0 commit comments