-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running .\eng\build.cmd
results in error when building repository
#58484
Comments
After installing VS Community Preview 2022, the error went away. But script does not say anything what's wrong or what's missing, causing confusion. |
Based on the stack, it looks like it's failing to find the build tool (msbuild?) path. Based on the follow-up comment about installing VS, my guess is that msbuild was simply not available. We probably just need more validation in |
|
The first error I hit was actually that |
The next error was that a particular Windows SDK wasn't installed. I installed it, rather than installing VS. |
The next error was |
TL;DR: I didn't hit the originally reported issue (and so could not debug/fix it) but the correct fix is probably to detect VS earlier in the process and explicitly request it if it's not installed. |
After installing JDK manually #58457 with Winget, I faced the next error when I tried to build the entire repo with
build.cmd
command.I did not pass any argument to the script because I wanted to build a debug build of the entire repo for local debugging. But I encountered the below error.
The text was updated successfully, but these errors were encountered: