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,
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
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.
VS 2008 has a built-in code analysis (FxCop and PREfast). You can turn it on at Project->Properties->Configuration Properties->C/C++->Advanced->Enable Code Analysis For C/C++ on Build.
Then you can try to compile some examples from PREfast and see warnings.
Good luck!
EDIT: Professional edition has no such option :(
You don't need to use Prefast separately. Visual C++ Prefast is accessed using the /analyze compiler switch.
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