Skip to content
Discussion options

You must be logged in to vote

The build is failing because it’s looking for the MSVC toolchain under Build Tools (...\2022\BuildTools\), but the file VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt is missing there. That usually means either the build picked a Build Tools path by mistake, or you only have Visual Studio 2022 Community (which installs under a Community folder, not BuildTools).

Fix: point the build at your Community install

In your repo root, edit repo.toml and set the Visual Studio path explicitly. Under the [repo_build.msbuild] section, add or uncomment vs_path and set it to your Community installation. For a default install:

[repo_build.msbuild]
link_host_toolchain = true
vs_version = "vs2022"
v…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jackykortrijk
Comment options

@d-kleine
Comment options

Answer selected by jackykortrijk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants