Skip to content

Runtime analyzers now reference Roslyn 4.14.0.0 and fail to load in some hosts #120815

@ericstj

Description

@ericstj

As of #119195 all the runtime-provided source-generators / analyzers now target roslyn 4.14.0.0.

This broke their use in DocFx, since the latest shipping version is still bundling 4.12.0.0 -- and there's no override.

That PR mentions:

Low. Analyzer-only fix. Note that it does include an update to Microsoft.CodeAnalysis, which needs to remain compatible with the version that ships with VS. Confirmed with @jkoritzinsky that this version is OK for .NET 10.

We should double check this @jkoritzinsky @ViktorHofer. If possible we should be making these changes much earlier in the release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions