zzzprojects / System.Linq.Dynamic.Core

The .NET Standard / .NET Core version from the System Linq Dynamic functionality.
https://dynamic-linq.net/
Apache License 2.0
1.55k stars 228 forks source link

FileLoadException: Could not load file or assembly 'Microsoft.EntityFrameworkCore.DynamicLinq, Version=1.4.3.0, Culture=neutral, PublicKeyToken=974e7e1b462f3693'. Invalid pointer (0x80004003 (E_POINTER)) #829

Open MKI-Miro opened 1 month ago

MKI-Miro commented 1 month ago

Hi

I am getting error after upgrade to .NET8.

I am only referencing this: I also tried newest version. (same exception). Error is thrown on gropBy on IQueryable

FileLoadException: Could not load file or assembly 'Microsoft.EntityFrameworkCore.DynamicLinq, Version=1.4.3.0, Culture=neutral, PublicKeyToken=974e7e1b462f3693'. Invalid pointer (0x80004003 (E_POINTER))

TypeInitializationException: The type initializer for 'System.Linq.Dynamic.Core.Parser.PredefinedTypesHelper' threw an exception.

Any suggestions?

Thank you very much.

StefH commented 1 month ago

@MKI-Miro please provide a full working example project to show this error

MKI-Miro commented 1 month ago

This is extremly problematic because its realy big project :(

I hoped for any tip

MKI-Miro commented 1 month ago

Isnt it weird that it wants Microsoft.EntityFrameworkCore.DynamicLinq in version 1.4.3 ?

StefH commented 1 month ago

This is extremly problematic because its realy big project :(

I hoped for any tip

In order to analyze this error, I really need an example project which shows this issue.

StefH commented 3 weeks ago

@MKI-Miro Can you provide a full working example?

StefH commented 2 weeks ago

@MKI-Miro Can you provide a full working example?

MKI-Miro commented 2 weeks ago

No I cant, I found workaround

StefH commented 2 weeks ago

@MKI-Miro Can you share that workaround? Or is it too specific for your implementation?