title: %VSINSTALLDIR% in csproj file
body: <p>I want to run tools that belong to the VS installation folder from within a .csproj file.</p>
  
  <p>If I run the supplied script:</p>
  
  <pre><code>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars32.bat
  </code></pre>
  
  <p>then %VSINSTALLDIR% is defined</p>
  
  <p>But inside the .csproj file, it is not defined.</p>
  
  <pre><code>&lt;Target Name="RunNpmGulpBower" AfterTargets="ComputeFilesToPublish"&gt;
      &lt;!-- As part of publishing, ensure the JS resources are freshly built in production mode --&gt;
      &lt;Exec Command="Call &amp;quot;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars32.bat&amp;quot; &amp;amp;&amp;amp; npm.cmd install" /&gt;
  </code></pre>
  
  <p>This will not work and bower.cmd will not be found.</p>
  
  <p>Is there any workaround for this?</p>