model-writtenrun 9274 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peifeng Qiu reported that VS2017 builds failed when only Windows SDK 10 was installed and proposed populating generated project files from the WindowsSDKVersion environment variable in #1.
- Michael Paquier requested preserving the system default when WindowsSDKVersion is absent in #2, and Peifeng revised the patch to conditionally emit the SDK property in #3, also reporting that VS2019 did not reproduce the problem.
- Andrew Dunstan explained that his VS2017 installation included both SDK 8.1 and SDK 10 in #5, accounting for successful builds, and subsequently raised installed-SDK detection as a possible solution in #7.
- Peifeng argued that the developer's command-prompt environment already selected the appropriate SDK, making registry-based detection unnecessary, in #8; Michael supported using that variable and confirmed his VS2019 installation worked with SDK 10 alone in #9.
- Andrew accepted the patch while noting that an old compiler environment lacked the variable in #10, and Michael confirmed that the conditional fallback handled this case and requested final formatting cleanup in #11.
- Andrew committed #3 with small backslash-stripping and presentation edits as 20e99cdddb, with backpatching to all live branches; the thread ended with Michael reporting its application and an additional fix by Tom in #12.