Skip to content

Use Roslyn components multi-targeting #5816

@Youssef1313

Description

@Youssef1313

We're using an old version of Roslyn to allow consumption in old VS versions. But this comes with some issues where a given Roslyn API had a bug that was fixed in a later version, and updating to new version of Roslyn is blocked.

Another benefit is we'll have more up-to-date nullable annotations, which can help prevent bugs (e.g #5802).

As of dotnet/sdk#20793, there is now a support for targeting multiple versions of Roslyn, where the highest version that can work will be picked. I think it would be useful if we used that in roslyn-analyzers.

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