Generic RTM Application for SQLite Windows 10

With RTM for Windows 10 and Visual Studio 2015, RTM SQLite no longer works.

For example, the tutorial http://igrali.com/2015/05/01/using-sqlite-in-windows-10-universal-apps/ will not add the SQLLite.cs and SQLiteAsync.cs files to my project, as well as "Microsoft Visual C ++ Applocal runtime Package for Windows UAP "link is not available to me.

The funny thing is that he worked with RC versions ...

SQLite Version: sqlite-uap-3081101.vsix (5.73 MiB)

+2
source share
2 answers

Using sqlite-uap-3081101.vsix with RTM version VS2015 and the 1040 SDK for Windows 10 generates the following warnings:

The SDK "SQLite.UAP.2015, version = 3.8.11.1" depends on the following SDKs "Microsoft.VCLibs.AppLocal, version = 14.0" that were not added to the project or could not be found.

This is because the SQLite extension depends on the AppLocal Runtime application suite. Theoretically, the package will automatically be referenced when adding the extension as a link, however, the package is no longer included in the referenced version of the W10 SDK.

The AppLocal Runtime application package has been replaced by a CRT package, such as W8 and W8.1, in versions of VS2015 + W10 SDK.

If you add a link to the "Visual C ++ 2015 Runtime for Universal Windows Platform Apps", your application will create and run, although there will be warnings until the SQLite extension is updated.

Although you can simply include SQLLite.cs and SQLiteAsync.cs from SQLite-net directly, if you use nuget to link to the library according to the tutorial, you will not see the files in your project, although the classes will be available for you can use.

+3
source

I think the SQLite team has already fixed the problem.

SQLite for a universal application platform - see Q and A.

SQLite Timeline

So, just uninstall the existing SQLite SDK from Visual Studio and install it again. After that, I do not see a warning about AppLocal.

+2
source

All Articles