Skip to content

Projections aren't working in published app #98

@jomhyre

Description

@jomhyre

I am having a problem where this library is working perfectly in development with dotnet dev, but when I run the app generated with dotnet publish -c Release, none of the mappings seem to exist, and I get error messages like:

The LINQ expression '...' could not be translated. Additional information: Translation of member 'ProjectedProperty' on entity type 'Entity' failed. This commonly occurs when the specified member is unmapped

I tried enabling Full Compatibility mode but the problem remains.
My project is targeting net7.0, and I building and running on linux. I can provide more info if needed

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