Skip to content

Are Roslyn Analyzers supported? #4085

@rzippo

Description

@rzippo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions