{"id":5860,"date":"2017-04-21T04:53:15","date_gmt":"2017-04-20T20:53:15","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/heaths\/?p=3815"},"modified":"2019-02-17T15:29:18","modified_gmt":"2019-02-17T22:29:18","slug":"vswhere-is-now-installed-with-visual-studio-2017","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/setup\/vswhere-is-now-installed-with-visual-studio-2017\/","title":{"rendered":"vswhere is now installed with Visual Studio 2017"},"content":{"rendered":"<p>Starting in the <a href=\"https:\/\/www.visualstudio.com\/vs\/preview\/\">latest preview release of Visual Studio<\/a> version 15.2 (26418.1-Preview), you can now find <a href=\"https:\/\/github.com\/Microsoft\/vswhere\">vswhere<\/a> installed in &#8220;%ProgramFiles(x86)%\\Microsoft Visual Studio\\Installer&#8221; (on 32-bit operating systems before Windows 10, you should use &#8220;%ProgramFiles%\\Microsoft Visual Studio\\Installer&#8221;).<\/p>\n<p>While I initially made <em>vswhere.exe<\/em> available via <a href=\"https:\/\/nuget.org\/packages\/vswhere\">NuGet<\/a> and <a href=\"https:\/\/chocolatey.org\/packages\/vswhere\">Chocolatey<\/a> for easy acquisition, some projects do not use package managers nor do most projects want to commit binaries to a git repository (since each version with little compression would be downloaded to every repo without a filter like <a href=\"https:\/\/git-lfs.github.com\">git LFS<\/a>).<\/p>\n<p>So starting with build 15.2.26418.1* you can rely on <em>vswhere.exe<\/em> being installed. We actually install it with the installer, so even if you install a product like Build Tools you can still rely on <em>vswhere.exe<\/em> being available in &#8220;%ProgramFiles(x86)%\\Microsoft Visual Studio\\Installer&#8221;.<\/p>\n<p>* <em>A note about versions:<\/em> the display version is 15.2.26418.1, but package and binary versions may be 15.<strong>0<\/strong>.26418.1. This is an artifact of how we do versioning but are looking to fix the &#8220;installationVersion&#8221; property you can see with <em>vswhere.exe<\/em> to match the display version, which you can currently see as part of the &#8220;installationName&#8221; property like in the following example.<\/p>\n<pre>instanceId: 881fd1f9\ninstallDate: 4\/20\/2017\ninstallationName: VisualStudioPreview\/<strong>15.2.0-Preview+26418.1<\/strong>.d15rel\ninstallationPath: C:\\Program Files (x86)\\Microsoft Visual Studio\\Preview\\Enterprise\ninstallationVersion: 15.0.26418.1\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Starting in the latest preview release of Visual Studio version 15.2 (26418.1-Preview), you can now find vswhere installed in &#8220;%ProgramFiles(x86)%\\Microsoft Visual Studio\\Installer&#8221; (on 32-bit operating systems before Windows 10, you should use &#8220;%ProgramFiles%\\Microsoft Visual Studio\\Installer&#8221;). While I initially made vswhere.exe available via NuGet and Chocolatey for easy acquisition, some projects do not use package managers [&hellip;]<\/p>\n","protected":false},"author":389,"featured_media":3843,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[20,45,46,57],"class_list":["post-5860","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-installation","tag-visual-studio","tag-vs","tag-vs2017"],"acf":[],"blog_post_summary":"<p>Starting in the latest preview release of Visual Studio version 15.2 (26418.1-Preview), you can now find vswhere installed in &#8220;%ProgramFiles(x86)%\\Microsoft Visual Studio\\Installer&#8221; (on 32-bit operating systems before Windows 10, you should use &#8220;%ProgramFiles%\\Microsoft Visual Studio\\Installer&#8221;). While I initially made vswhere.exe available via NuGet and Chocolatey for easy acquisition, some projects do not use package managers [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/5860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/users\/389"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/comments?post=5860"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/5860\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/media\/3843"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/media?parent=5860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/categories?post=5860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/tags?post=5860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}