interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Are Roslyn Analyzers supported?

Open rzippo opened this issue 2 months ago • 0 comments

The package and version I'm asking about: I am using the Polyglot Notebooks extension, using #!about I get

Version: 1.0.632301+7d35ce3be7eb7a603527a3683b691d5e9922adca
Library version: 1.0.0-beta.25323.1+7d35ce3be7eb7a603527a3683b691d5e9922adca

Question

I have a C# Roslyn Analyzer in a NuGet package. I tested it in a console application scenario, and produces warnings as expected. If I include it in a notebook context, though, it does not produce any warning. I thought it would since other warnings, like those coming from [ObsoleteAttribute], do show up in the notebook.

Is this feature supported in .NET Interactive? If so, are there some specific configuration I need to make my analyzers work?

rzippo avatar Nov 10 '25 09:11 rzippo