Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error : Element <EnableEnhancedInstructionSet> has an invalid value of "NoExtensions"

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.

like image 846
E_learner Avatar asked Apr 28 '14 10:04

E_learner


1 Answers

Ok, I solved it by this way: Project ->Properties ->C/C++ ->Code Generation->Enable Enhanced Instruction Set -> Not Set.

like image 152
E_learner Avatar answered Oct 20 '22 17:10

E_learner