I have a Visual Studio 2013 solution (MySolution2013.sln) containg a number of C# project using .NET 4.5.1.
When building MySolution2013.sln in VS2015 everything compiles fine.
When I run the following command from the command prompt:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe MySolution2013.sln
I get the following error for a C# procject containing a reference to a COM component:
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.
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?