How to switch off solution wide analysis in Visual Studio 2015?

后端 未结 2 1975
我在风中等你
我在风中等你 2021-01-25 09:10

On the PC of my collegue Visual Studio 2015 displays a message sometimes:

Low memory detected. Solution wide analysis is switched off.

相关标签:
2条回答
  • 2021-01-25 09:30

    To enable or disable automatic code analysis In Solution Explorer, right-click the project, and then click Properties. In the properties dialog box for the project, click Code Analysis. Specify the build type in Configuration and the target platform in Platform. To enable or disable automatic code analysis, select or clear the Enable Code Analysis on Build (defines CODE_ANALYSIS constant) check box.

    Reference

    0 讨论(0)
  • 2021-01-25 09:38

    To disable full solution analysis in Visual Studio 2015, go to Tools -> Options -> Text Editor -> C# -> Advanced, and uncheck the "Enable full solution analysis" checkbox.

    Note that after installing the latest version of VS2015 Update 2, this settings is now disabled by default.

    0 讨论(0)
提交回复
热议问题