Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projections aren't working in published app #98

Open
jomhyre opened this issue Feb 7, 2024 · 0 comments
Open

Projections aren't working in published app #98

jomhyre opened this issue Feb 7, 2024 · 0 comments

Comments

@jomhyre
Copy link

jomhyre commented Feb 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant