Skip to content

Failed to compile: Metadata file 'EntityFramework.dll' could not be found #2

@lf-novelt

Description

@lf-novelt

Hello, thanks for the lib, I am trying to use it but face a blocking issue.

Error `System.Exception: Failed to compile: Metadata file 'EntityFramework.dll' could not be found
↵   at DynamicOData.QueryFactory.Compile(Table table)`

Line that throw the exception

parameters.ReferencedAssemblies.Add("EntityFramework.dll");

Possible solution

By default, EntityFramework.dll is not in the GAC, so this line should be

parameters.ReferencedAssemblies.Add(Directory.GetCurrentDirectory() + "\\EntityFramework.dll");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions