Skip to content

Analyzer incompatibility with .NET SDK 8.0 (compiler version mismatch) #205

Closed

Description

@PLDBurmester

During compilation, the following warning is raised:

[WRN] Compile: CSC : warning CS9057: The analyzer assembly "EntityFrameworkCore.Projectables.Generator.dll" references version "5.0.0.0" of the compiler, which is newer than the currently running version "4.11.0.0".

Context:
The issue appears to originate from the analyzer package:

entityframeworkcore.projectables.abstractions (version 6.0.3)

There is already a related fix mentioned here:
#204

However, the issue still occurs in our setup with .NET SDK 8.0.

Expected Behavior:
The project should compile without version mismatch warnings between the analyzer assembly and the compiler.

Activity

  1. AdamGovier commented on Apr 29, 2026

    @AdamGovier

    @PLDBurmester as a work-around for you, can you include NET10 on your build machine? Your project doesn't need NET10 as a target framework, but the build machine needs it installed.

    I will test 6.0.3 against our project tomorrow to see if the issue is fixed for us.

    Thanks.

  2. AdamGovier commented on Apr 29, 2026

    @AdamGovier

    Just quickly tested now.

    I uninstalled NET10, and installed EntityFrameworkCore.Projectables 6.0.3.

    Getting the same issue unfortunately.

    Anything that I can do to help you debug?

  3. PLDBurmester commented on May 4, 2026

    @PLDBurmester
    Author

    @koenbeuk
    It works perfectly now. Thanks for the quick bug fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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