Team System Developer Center > Visual Studio Team System Forums > Visual Studio Code Analysis and Code Metrics > Static code analysis not available in one VS2008 installation
Ask a questionAsk a question
 

QuestionStatic code analysis not available in one VS2008 installation

  • Thursday, September 17, 2009 2:13 PMStefan Falk Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello everybody,

    we use VS2008 Team Edition for Developers here, running von Vista Enterprise x64 including all patches of course. On one machine, static code analysis is simply not available. Neither the user interface in the project properties includes the "code analysis" tab, nor does fxcop run on building projects for which code analysis is enabled.

    Where could we check what is missing? VS setup just displays everything is installed. Is there some repair option? Is an uninstall/reinstall cycle necessary? Any help is greatly appreciated of course.

    Best Regards,
    Stefan FAlk
    Stefan Falk

All Replies

  • Friday, October 09, 2009 8:19 AMRoahn LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello,

    Code Analysis feature is one of Visual Studio packages, we may miss the package. We could use the Package Load Analyzer to check the loaded packages, but that need us to install Visual Studio 2008 SDK first. I suggest you try the /setup or /resetSkipPkgs option in command line to bring back the UI elements.

    By the way, there is a stand alone tool called FxCop which could be download from Mincrosoft Official Site. Why not use it as a workaround?

    Best regards,


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
  • Tuesday, November 03, 2009 8:56 PMStefan Falk Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    we uninstalled and re-installed everything that had to do with Visual Studio. Things are working again. Thanks anyway!

    Best Regards,
    Stefan
    Stefan Falk