Skip to content

Microsoft.CodeAnalysis.NetAnalyzers should only be included when using older SDKs #46

@egil

Description

@egil

According to the docs at https://github.com/dotnet/roslyn-analyzers, the NetAnalyzers is not needed when we use the .NET5 SDK or later in our projects. As far as my understanding goes, these analyzers will be included just by having .NET5 SDK installed and using that to build with, even if the project we are building has TargetFramework < NET5.

You do not need to manually install this NuGet package to your project if you are using .NET5 SDK or later. These analyzers are enabled by default for projects targeting .NET5 or later. - https://github.com/dotnet/roslyn-analyzers#microsoftcodeanalysisnetanalyzers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions