Reputation: 2261
On the PC of my collegue Visual Studio 2015 displays a message sometimes:
Low memory detected. Solution wide analysis is switched off.
And after this message is displayed everything is a lot faster.
How can I turn this analysis off manually?
Edit: Yes, I use Resharper but this is not what I want. And Code Analysis is also not the correct option. VS 2015 uses Roslyn to compile the Solution constantly in the background and uses all kinds of Analysers, almost like Resharper. But I use Resharper so I would like to turn off all background checks of Roslyn.
Upvotes: 2
Views: 5048
Reputation: 17424
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.
Upvotes: 6
Reputation: 1881
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.
Upvotes: 1