Skip to content

SQLite AOT模式运行异常 #2201

@zengkid

Description

@zengkid

Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HNJFNKO786J4", Request id "0HNJFNKO786J4:00000001": An unhandled exception was thrown by the application.
System.Exception: FreeSql: [FreeSql: Master Database] Connection string error, please check. Or check Project Properties > Build > Target Platform: x86 | x64, Or use FreeSql.Provider.SqliteCore accessing arm platform
---> System.Exception: FreeSql: [FreeSql: Master Database] Connection string error, please check. Or check Project Properties > Build > Target Platform: x86 | x64, Or use FreeSql.Provider.SqliteCore accessing arm platform
at FreeSql.Sqlite.SqliteConnectionPoolPolicy.OnGet(Object1) + 0x73 at FreeSql.Internal.ObjectPool.ObjectPool1.Get(Nullable`1) + 0x2b9
at FreeSql.Internal.CommonProvider.AdoProvider.ExecuteScalar(DbConnection, DbTransaction, CommandType, String, Int32, DbParameter[]) + 0x12e
--- End of inner exception stack trace ---

使用donet10
<PackageReference Include="FreeSql.Provider.Sqlite" Version="3.5.306" /> <PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.2" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions