How can I deploy SQLite in WinRT devices with an A

2019-02-15 11:18发布

I'm developing a C# Window8 / WinRT app and I'm using SQLite-NET with the sqlite3.dll linked at the bottom of the documentation at

https://github.com/praeclarum/sqlite-net

My project works fine on my computer, but since sqlite is a non-managed DLL, I wonder what's going to happen when I deploy my app to the app store and someone with an ARM cpu tries to run it. Is it going work? If not, how can I make it work?

Thanks,

Adrian

2条回答
爷、活的狠高调
2楼-- · 2019-02-15 11:33

No, it's not going to work. You cannot choose a neutral architecture (Any CPU) when there is a C++ component involved. You will have to compile your SQLite DLL into ARM in order for you to have an ARM version. If you have a native component, you will submit multiple versions for the Store and the customer will download the correct version for their architecture.

Good blog post on Windows on the ARM architecture.

查看更多
迷人小祖宗
3楼-- · 2019-02-15 11:39

The only thing I know is that Microsoft is working with guys from SQLLite and is now officially supported

查看更多
登录 后发表回答