trailway
02-01-2013, 11:50 AM
I have a Visual Studio 2012 solution which contains C# and C++ (unmanaged) projects. The solution builds fine in Visual Studio but fails when using Visual Build.
My problem seems to be like:
http://www.dovetailsoftware.com/blogs/kmiller/archive/2010/03/22/correcting-a-midl-compiler-error-midl1001-cannot-open-input-file
On my machine I have both Visual Studio 2010 and 2012 installed.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows indicates that v7.0A is the default though I have v7.0A, v7.1A, and v8.0A installed.
I am thinking that I have to tell the "Make VS 2012" build action to use v8.0A because the C++ code is using the 110 toolset?
I don't want to make changes at a system level because all other C++ projects have to run on XP and use the 100 toolset.
My problem seems to be like:
http://www.dovetailsoftware.com/blogs/kmiller/archive/2010/03/22/correcting-a-midl-compiler-error-midl1001-cannot-open-input-file
On my machine I have both Visual Studio 2010 and 2012 installed.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows indicates that v7.0A is the default though I have v7.0A, v7.1A, and v8.0A installed.
I am thinking that I have to tell the "Make VS 2012" build action to use v8.0A because the C++ code is using the 110 toolset?
I don't want to make changes at a system level because all other C++ projects have to run on XP and use the 100 toolset.