Is there any way to enable Prefast in Visual Studio 2008 Professional addition?
I am trying to compile native c++ code.
I have tried following things,
- Downloaded Windows SDK
- Set compiler's Bin / Include / Lib paths to the SDK.
- Added additional option for c/c++ compilation (/Analyze:WX-)
I believe these steps should have set the appropriate compiler to do static analysis using prefast. This setting actually worked with Visual Studio 2005. However it does not work with Visual Studio 2008.
It always gives two problems
- LINK : warning LNK4044: unrecognized option '/MANIFESTUAC:level='asInvoker' uiAccess='false''; ignored
- fatal error LNK1103: debugging information corrupt; recompile module
Reason for 1, I believe, is Windows SDK do not identify /MANIFESTUAC option. This has been introduced with Visual Studio 2008. Reason for 2, no idea :).
Any idea / suggestions / pointers are most welcome.