You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EF Projectables requires the build machine to have NET 10 installed but this isn't documented. #203
One of our team members pulled down a project of ours over the weekend.
He was getting this runtime exception:
System.InvalidOperationException: Unable to resolve generated expression for X.X.X.API.Domain.Entities.X.X.X.
Further investigation this morning found the following warning:
CSC : warning CS9057: Analyzer assembly
'...\entityframeworkcore.projectables.abstractions\6.0.2\analyzers\dotnet\cs\EntityFrameworkCore.Projectables.Generator.dll'
cannot be used because it references version '5.0.0.0' of the compiler,
which is newer than the currently running version '4.14.0.0'.
We compared the NET SDK versions of their machine compared to mine:
After finding this difference, they installed NET10 and the runtime exception was resolved. As a further test, they removed NET10 and ran the project without rebuilding and it still runs as expected with NET9.
I am unsure of the version number links between the compiler and NET version. However it seems that NET10 must be installed in order to generate the projections.
Activity
PhenX commentedon Apr 27, 2026
Thansk for the issue, it is indeed a problem, and I think it explains this issue : #202
I'm checking it right now
PhenX commentedon Apr 28, 2026
I fixed it in #204, I'm making a release tell me if you have any problem