The light bulb seems to be driven of an Analyzer. these can be manipulated via a Code Analysis Ruleset.
In project properties select the Code Analysis tab –
Then open and edit a Ruleset, these are under the Analyzers Microsoft.CodeAnalysis.CSharp.Features
, Microsoft.CodeAnalysis.CSharp
and Mirosoft.Analyzers.NativeCodeAnalysis
:
Managed Binary Analysis seems to be FxCop / Code Analysis which was in previous versions.
Change the rules to none, and the rules aren’t fired anymore. Adding or using different Analyzers will result in the return of the light bulb however.
The created Ruleset can be applied to all projects as needed.
However, the light bulb is the replacement for the tool tip, so disabling everything would severly hamper the usefulness of Visual Studio as an IDE.