-
Notifications
You must be signed in to change notification settings - Fork 98
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
Was vswhere.exe supposed to find a "Build tools" install? #61
Comments
As of version |
As stated in the usage output and documentation herein, vswhere searches, by default, for Community, Professional, and Enterprise products. Build Tools and other products installed by the new Installer can by found either by passing in a comma-separated list of product IDs to |
So sorry, I must have missed that. I wasn't considering BuildTools to be a
product, but makes sense.
Thanks for the responses.
…On Tue, May 2, 2017 at 5:52 PM, Heath Stewart ***@***.***> wrote:
As stated in the usage output and documentation herein, *vs*where
searches, by default, for Community, Professional, and Enterprise products.
Build Tools and other products installed by the new Installer can by found
either by passing in a comma-separated list of product IDs to -products
or just specifying -products * as @refack <https://github.com/refack>
mentioned.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#61 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFEWsrY_Uqi8-53vWSAQCGf2M2yOMQ0ks5r119OgaJpZM4NOFZr>
.
|
I think for 2015 and earlier you need to use "-legacy"
…On Wed, May 31, 2017 at 8:33 AM, Uli Weltersbach ***@***.***> wrote:
Just to be clear, the reason why I'm not seeing any output on our build
server is because the build tools were not installed with "the new
installer"?
If so, what is "the new installer"?
[image: vswhere exe and msbuild tools]
<https://cloud.githubusercontent.com/assets/1416006/26620711/2f3a20cc-45e4-11e7-957a-70bd4921d8e8.png>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#61 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFEWllziaKOjLa0DYrWPuRucENLVUcRks5r_RfIgaJpZM4NOFZr>
.
|
Thanks for the quick response, but that still doesn't do the trick. |
Because that is not a VS path. MSBuild was located under Visual Studio starting with 2017. It was in the same place under %ProgramFiles(x86)%\MSBuild before that. There are other ways to find MSBuild prior to 2017 that are outside the scope and purpose of vswhere. |
On a build agent I installed the "Build tools for Visual Studio 2017" ( taken from https://www.visualstudio.com/downloads/ , under "Other Tools and Frameworks", "Build Tools for Visual Studio 2017" ).
Running vswhere doesn't find that install. Shouldn't it?
It does find the install for a "legacy" version, if that's relevant:
The text was updated successfully, but these errors were encountered: