Skip to content

Assembly versions mismatch for CodeAnalysis #10341

Open
@sebastienros

Description

@sebastienros

I am getting this error within VS 2022 preview 6 (public preview) when opening a project from the aspnetcore repository.

Warning	CS9057	The analyzer assembly 'C:\code\aspnetcore\.dotnet\sdk\7.0.100-rc.1.22375.2\Sdks\Microsoft.NET.Sdk\codestyle\cs\Microsoft.CodeAnalysis.CSharp.CodeStyle.dll' references version '4.4.0.0' of the compiler, which is newer than the currently running version '4.3.0.0'.

This seems to break some refactoring features too (like renaming property)

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