Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
749 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I have an Maui app built with XCode 15.2 and .Net 8.
I am using Microsoft.EntityFrameworkCore.Sql V8.0.4
When I install it on my iPad with test flight I get:
Model binding is not supported when publishing with NativeAOT. Use a compiled model.
I have also tried using xcode 15.1 with the same results.
What am I doing wrong?
Thanks in advance.
NativeAOT is part of the Maui build, and not Xcode. NativeAOT, places several limitations on your coding. Your code has broken one of these limitations. See:
https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/?tabs=net7%2Cwindows