System.Linq.Dynamic.Core icon indicating copy to clipboard operation
System.Linq.Dynamic.Core copied to clipboard

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

Open MKI-Miro opened this issue 1 year ago • 8 comments

Hi

I am getting error after upgrade to .NET8.

I am only referencing this: <PackageReference Include="System.Linq.Dynamic.Core" Version="1.3.14" /> I also tried newest version. (same exception). Error is thrown on gropBy on IQueryable<T>

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.

MKI-Miro avatar Jul 19 '24 09:07 MKI-Miro

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

StefH avatar Jul 19 '24 11:07 StefH

This is extremly problematic because its realy big project :(

I hoped for any tip

MKI-Miro avatar Jul 19 '24 11:07 MKI-Miro

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

MKI-Miro avatar Jul 19 '24 13:07 MKI-Miro

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 avatar Jul 20 '24 09:07 StefH

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

StefH avatar Aug 15 '24 10:08 StefH

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

StefH avatar Aug 21 '24 18:08 StefH

No I cant, I found workaround

MKI-Miro avatar Aug 22 '24 08:08 MKI-Miro

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

StefH avatar Aug 22 '24 09:08 StefH

Closing..

StefH avatar Oct 18 '24 09:10 StefH