title: Msbuild version in Framework vs Visual studio
body: <p>Which version of <code>build.exe</code> is what?</p>
  
  <hr>
  
  <p>I have a machine with Visual studio 2017 (v15) as only installation.<br>
  I then have 2 <code>msbuild.exe</code> files. One in the framework folder and the other in the Visual studio folder.</p>
  
  <p>Besides different versioning, the output is different. The version number differs not only in format but in type of information too; <em>Framework version</em> vs <em>Visual studio version</em>. Without knowing better it looks like Visual studio has its own msbuild.exe, not deriving from the framework's.</p>
  
  <pre><code>C:\Windows\Microsoft.NET\Framework\v4.0.30319&gt;msbuild /version
  Microsoft (R) Build Engine version 4.7.3062.0
  [Microsoft .NET Framework, version 4.0.30319.42000]
  Copyright (C) Microsoft Corporation. All rights reserved.
  
  4.7.3062.0
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin&gt;msbuild /version
  Microsoft (R) Build Engine version 15.6.85.37198 for .NET Framework
  Copyright (C) Microsoft Corporation. All rights reserved.
  
  15.6.85.37198
  </code></pre>