title: Error building Visual Studio solution using MsBuild
body: <p>I have a Visual Studio 2013 solution (MySolution2013.sln) containg a number of C# project using .NET 4.5.1.</p>
  
  <p><strong>When building MySolution2013.sln in VS2015 everything compiles fine.</strong></p>
  
  <p>When I run the following command from the command prompt:</p>
  
  <blockquote>
    <p>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
    MySolution2013.sln</p>
  </blockquote>
  
  <p>I get the following error for a C# procject containing a reference to a COM component:</p>
  
  <blockquote>
    <p>C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets
    (2015): Task failed because "AxImp.exe" was not found, or the correct
    Microsoft Windows SDK is not installed. The task is looking for
    "AxImp.exe" in the "bin" subdirectory beneath the location specified
    in the InstallationFolder value of the registry key
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft
    SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86. You may be able to solve
    the problem by doing one of the following:   1) Install the Microsoft
    Windows SDK.   2) Install Visual Studio 2010.   3) Manually set the
    above registry key to the correct location.   4) Pass the correct
    location into the "ToolPath" parameter of the task.</p>
  </blockquote>
  
  <p>Anyone know what this is? The Windows SDK v8.0A in the registry part is a part of visual Studio 2012. Why would my VS2013 solution need parts of VS2012?</p>