I am trying to open a C++ project by others under VS2010 in Windows XP on a virtual machine. The problem is, the project was seem to be developed under VS2012 under Windows7 I think. I have successfully converted its related configurations, thanks to internet. But now, when I try to build this project, I got the following error:
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error : Element <EnableEnhancedInstructionSet> has an invalid value of "NoExtensions".
Seems like the configuration changes caused this problem. What I did is to change the Project ->Properties->Configuration Properties->General->Platform Toolset
from "v120" to "v100", then also changed the DefaultTargets="Build" ToolsVersion="12.0
into DefaultTargets="Build" ToolsVersion="4.0"
.
How can I overcome this error? Thanks.
Ok, I solved it by this way: Project ->Properties ->C/C++ ->Code Generation->Enable Enhanced Instruction Set -> Not Set
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With