-
Notifications
You must be signed in to change notification settings - Fork 97
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
Can't detect VS 2017 build tools (15.5.2), empty output #125
Comments
Also note that when I reinstalled the build tools (after this issue started happening), I reinstalled them to C:, where previously they were installed to E:\ The change in drive letter shouldn't be an issue, as it was broken before I decided to uninstall/reinstall. |
vswhere doesn't show the query API version, which means it's no longer installed. Please run https://aka.ms/vscollect.exe and attach %TEMP%\vslogs.zip when it finishes to diagnose why. In the meantime, download and install (just double-click to install) https://download.visualstudio.microsoft.com/download/pr/100390094/d68d54e233c956ff79799fdf63753c54/Microsoft.VisualStudio.Setup.Configuration.msi, which is the latest release of the query API. |
I am having the same issue where it's not detecting MSBuild Engine 15.1.1012.6693. I ran https://aka.ms/vscollect.exe, but the %TEMP%\vslogs.zip is 43 MB large. There is a limit of 10 MB attachment. Where can I upload the vslogs.zip for you to access? |
OneDrive or any other cloud drive is a good place. |
@heaths, thanks. I've installed the VS Setup Configuration, but it still doesn't show the query version in the console output. My vslogs.zip is also quite large, is there something specific I can extract from it or do you literary need the full zip. |
Please post the whole thing. There are various pieces I may need and it will be faster than going back and forth. If you'd rather secure it for just me, I can encrypt my email for you via PGP/GPG if you share your public key. |
https://1drv.ms/u/s!Apd2_IzUpiILbVWub6IpW1X9C94 Thanks, appreciate the help. |
I'm not sure why, but I can't seem to access that link. I wonder if OneDrive now tries to open ZIPs and is maybe timing out since it's big? I really have no idea. Is it possible to stick it in a folder by itself and just share the folder? |
https://1drv.ms/f/s!Apd2_IzUpiILblLKcxrUP4Kg-n8 It is still uploading, will edit this post once complete |
Uploaded. does it work better now? |
Hi, any update on this? Did you need any further information? thanks |
I took a look at the files and all information shows that the query API should be present. Do you have DLLs in %ProgramData%\Microosoft\VisualStudio\Setup (2 subdirectories)? If so, from an elevated command prompt please try running regsrv32.exe on them to register them again and try again. Let me know if that works. I'm not sure how they'd get deregistered since we removed the old version and installed the newer one that would've registered them. |
Running regsrv32.exe on the two .dll and rebooting now shows the query version. However, I still don't see my build tools installation. I reinstalled the build tools again hoping the query API fix might have changed things, but it hasn't. It looks like I'm now in the same boat as @BlackFrog1. |
Build Tools is not selected by default. See #22. In short, pass |
|
I've read every thread on similar issues, but can't for the life of me find a solution to this problem.
After upgrading to v15.5.2 of the VS 2017 build tools, vswhere outputs nothing.
Prior to the upgrade, TFS was able to detect MSBuild 15, but not afterwards.
I have since completely uninstalled all VS 2017 tooling and reinstalled them, but no instance of vshwere.exe (tried TFS [v1.1] and VS/Installer [v2.2]) will show the installed instances.
I can see the installed tools in windows explorer, but vswhere will not find them,
Can somebody advise what is missing here, it is doing my head in.
Thanks,
The text was updated successfully, but these errors were encountered: