Skip to content

Error spam on every startup with the Microsoft.CodeAnalysis.BannedApiAnalyzers package installed #707

@TheNathannator

Description

@TheNathannator

NuGetForUnity seems to be complaining about the multiple .ruleset and .globalconfig files that the Microsoft.CodeAnalysis.BannedApiAnalyzers package contains, and spams 40+ errors about them on every startup:

Image

For context, I'm using this analyzer to assist with using the ZLogger package, primarily to call attention to places where the wrong logging API is used. These errors are certainly an annoyance lol, and I'm not entirely sure for what reason they're errors instead of warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions