none
How do I turn off static analysis in visual studio 2012? RRS feed

  • Question

  • I have large c++ solution that I need to build for XP Compatablity. I installed the vs 2012 update 3 and set platform toolset for "Visual Studio 2012 - Windows XP (v110_xp)" I builds in debug mode but in relase I get error:

    Error 3 error MSB8026: Static analysis is not supported with the current platform toolset. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\Win32\PlatformToolsets\v110_xp\Microsoft.Cpp.Win32.v110_xp.targets 28 5 My Project name

    I don't want static analysis and want to turn it off.  I'm sure it's anice thing but right now it's in the way thank you.


    Dave just dave, I am also justdave but it did'nt beleive me so I had to become my own descendant

    Thursday, August 8, 2013 4:56 AM

All replies

  • Hi,

    I am moving this post to "MSBuild" forums as VSTA forums does not deal with MSBuild issues. Did you tried editing your vcxproj file to delete the line: <EnablePREfast> True </ EnablePREfast>

    Thanks,

    Gaurav

    Saturday, August 24, 2013 6:51 PM
  • Redirecting to a different group was not the answer.

    I had to manually edit the project file. which is more a last ditch effort.


    Dave just dave, I am also justdave but it did'nt beleive me so I had to become my own descendant

    Friday, December 20, 2013 4:31 PM