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