Skip to content

Existing implementation of Rosyln Analysers are not compatible with version 4.14.0 of Microsoft.CodeAnalysis.CSharp.Workspaces #684

@warwickschroeder

Description

@warwickschroeder

Describe the suggested improvement

Is your improvement related to a problem? Please describe.

PR raised by renovate is failing with:

This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)

and

error RS1035: The symbol 'GeneratorInitializationContext' is banned for use by analyzers: Non-incremental source generators should not be used, implement IIncrementalGenerator instead

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions