适用于 iOS 的 MAUI 上 net8 AOT 的 FluentMigrator 问题

FluentMigrator issue with net8 AOT on MAUI for iOS

提问人:Bakhshi 提问时间:11/17/2023 更新时间:11/17/2023 访问量:12

问:

我们一直在将 FluentMigrator 与 Xamarin 一起使用,但现在使用新的 AOT 编译器,似乎将所有运行器包含在 nuget 包中会导致 AOT 步骤失败。net8-iosFluentRunner.Runner

我们在运行时收到此错误:dotnet publish -c Release -f net8.0-ios project.csproj

1>Xamarin.Shared.Sdk.targets(1211,3): Error  : Failed to AOT compile System.Data.SqlServerCe.dll, the AOT compiler exited with code 134.

我知道包引用了所有其他运行器(SQLServerCE、Hana 等)。FluentRunner.Runner

有没有办法只包括那些需要的跑步者?仅在这种情况下?SQLite

iOS Maui Fluent-Migrator net-8.0

评论


答: 暂无答案