The analyser was compiled against a newer Microsoft.CodeAnalysis than the Roslyn compiler in the older SDK or IDE. The host can't load it, reports CS8032 ('an instance of analyser cannot be created') in the build output, and then silently skips it, so in the IDE it simply looks like the rule never fires. Fix: pin the Microsoft.CodeAnalysis.CSharp reference to the oldest compiler version the team supports, pin the SDK for everyone with global.json, check that IDE versions match, and add a CI test that a known-bad sample actually produces the diagnostic, so a non-loading analyser fails the build instead of passing quietly.
Checks understanding of analyser loading and compiler version compatibility
Last updated 23 Nov 2026.