SQLite Forum

Microsoft Store unsupported API
Login

Microsoft Store unsupported API

(1) By anonymous on 2021-11-30 14:56:52 [link] [source]

I use System.Data.SQLite.Core in a UWP application which I distribute on the Microsoft Store. After upgrading System.Data.SQLite.Core from 1.0.113.6 to 1.0.115.5 my application failed the supported API check in the "Windows App Cert Kit". My app also fails when I submit it to the Microsoft Store for publishing. The errors are below:

API wsprintfW in user32.dll is not supported for this application type. SQLite.Interop.dll calls this API. API CorBindToRuntimeEx in mscoree.dll is not supported for this application type. SQLite.Interop.dll calls this API. API StrongNameErrorInfo in mscoree.dll is not supported for this application type. SQLite.Interop.dll calls this API. API StrongNameFreeBuffer in mscoree.dll is not supported for this application type. SQLite.Interop.dll calls this API. API StrongNameSignatureVerificationEx in mscoree.dll is not supported for this application type. SQLite.Interop.dll calls this API. API StrongNameTokenFromAssembly in mscoree.dll is not supported for this application type. SQLite.Interop.dll calls this API.

Cant these new dependencies be removed? Is there a workaround?

(2) By anonymous on 2021-12-01 03:18:51 in reply to 1 [link] [source]

Check you have the latest App certification kit installed: https://developercommunity.visualstudio.com/t/visual-c-163-runtime-uses-an-unsupported-api-for-u/746534

(3) By anonymous on 2021-12-01 13:24:08 in reply to 2 [link] [source]

I'm using Windows App Certification Kit v10.0.19041.685 which should be the latest and is much newer than the versions referenced in the links you sent.

System.Data.SQLite.Core v1.0.113.6 passes, v1.0.115.5 fails.

(4) By mistachkin on 2021-12-02 17:26:50 in reply to 1 [source]

System.Data.SQLite is not designed to be used in a UWP application.