Why doesn't the Code Analysis tab appear in my project properties in Visual Studio 2010 Premium?

Either I'll lose my mind, or the Code Analysis tab in Visual Studio has disappeared (or both).

I am using Visual Studio 2010 Premium (I know this feature does not apply to VS 2010 Professional) with Service Pack 1.

My project has a Code Contracts tab, but also shouldn't have a Code Analysis tab? If I choose Analysis | Configuring code analysis For this project, the project parameters are displayed from the menu, but only with the previously selected tab.

If you choose Analysis | Set up code analysis for the solution in the menu, I get a dialog box.

Do I think that the project should have a Code Analysis tab? Any idea what might make it not appear?

+4
source share
1 answer

Possible solutions:

  • Have you tried:

devenv /SafeMode

Starting Visual Studio in safe mode, loading only the default environment and services.

devenv /setup

Causes Visual Studio to combine resource metadata that describes menus, toolbars, and command groups from all available VSPackages.

devenv /ResetSettings

Restores the default settings for Visual Studio and automatically launches the integrated development environment (IDE). Optionally resets the settings to the specified .vssettings file.

devenv /ResetSkipPkgs

Clears all options to skip the downloads added to VSPackages by users wanting to avoid problems with loading VSPackages, then launches Visual Studio.


  • Have you noticed a small arrow "Advanced Settings"?

Code analysis tab



  • If all else fails, you should probably uninstall and reinstall Visual Studio.
+2
source

Source: https://habr.com/ru/post/1403421/


All Articles