title: reliable way to find the location devenv.exe of Visual Studio 2017
body: <p>I need to run scripts that build a visual studio solutions using <code>devenv.exe</code> (or <code>devenv.com</code> for that matter). For visual studio 2015 there was an environment variable  <code>%VS140COMNTOOLS%</code> that I could use to find the install location of <em>devenv</em>. Since <a href="https://developercommunity.visualstudio.com/content/problem/13223/no-environmental-variable-vscomntools150.html" rel="noreferrer">there is no <code>%VS150COMNTOOLS%</code> for Visual Studio 2017</a>, what would be a reliable way to find the install location of <code>devenv</code> in a script (bat or powershell).</p>