ericsink / SQLitePCL.raw

A Portable Class Library (PCL) for low-level (raw) access to SQLite
Apache License 2.0
523 stars 109 forks source link

Blazor WASM AOT not working with version 2.1.1 #514

Closed peerem closed 2 years ago

peerem commented 2 years ago

With version 2.1.1 Blazor WebAssembly AOT compiling failed:

Precompiling failed for ...\obj\Release\net6.0\linked\SQLitePCLRaw.provider.e_sqlcipher.dll.
Mono Ahead of Time compiler - compiling assembly ...\obj\Release\net6.0\linked\SQLitePCLRaw.provider.e_sqlcipher.dll
* Assertion at D:\a\_work\1\s\src\mono\mono\metadata\custom-attrs.c:599, condition `out_obj' not met
ericsink commented 2 years ago

Possible dup of #511 ?

ericsink commented 2 years ago

Does this problem happen with e_sqlite3 as well, or only with e_sqlcipher?

Did this problem happen with 2.1.0 ?

Does this problem happen with 2.1.2-pre20220913165057 ?

peerem commented 2 years ago

The problem also exists with this version.

ericsink commented 2 years ago

@peerem What is "this version"?

peerem commented 2 years ago

The 2.1.2-pre... from today.

ericsink commented 2 years ago

Did this problem happen with 2.1.0 ?

ericsink commented 2 years ago

Closing due to lack of information. If this problem is still being seen with 2.1.2, please open a new issue and include all relevant details.

peerem commented 2 years ago

Sorry i was on vacation.

Yes, AOT works with version 2.1.0.