Setup: check for the C++ build tools and Windows SDK before choosing the game #44
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/DexNom--VIctory!44
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-44"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@kilolimaVI on GitHub · 2026-11-25 20:25 UTC · original
kilolimaVI:setup/check-build-tools→main· +24 −0 · 1 files · 1 commits · openWithout Visual Studio's C++ build tools or a Windows SDK,
Setup.cmdasks for the game and then runs the whole release build, which fails only at the end with a linker error. Setup now checks both right after the Rust check, before the game picker, and names what is missing with awingetcommand that installs both.vswhere -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64KitsRoot10from the registry, with an x64kernel32.libunderLib\*\um\x64Tested (Windows 11 26300, Build Tools 2022 with the C++ workload)
Test-BuildToolsalone: nothing missing on this machine; with a nonexistentvswhere.exeit reports the C++ build tools; with a nonexistent SDK root it reports the SDK.Not tested
vswheredoes not find, e.g. a standalone MSVC.AI use
Script change and description written with Claude (Claude Opus 5.5); I ran the checks above.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.