none
The type or namespace name SQLite could not be found RRS feed

  • Question

  • Using Visual Studio Community Edition 2017

    File > New > Project > Visual C# > Cross Platform App (Xamarin)

    Create the new project and wait for it to finish...

    Using the Android phone emulator, this runs and I see the default label 'Welcome to Xamarin.Forms!'

    Tools > NuGet Package Manager > Package Manager Console

    The run the following command

    PM>Install-Package SQLite-net-pcl

    This successfully installs.

    At to the top of my MainPage.xaml.cs source file, I type the following:

    using SQLite;

    However, I get the error:

    The type or namespace name 'SQLite' could not be found (are you missing a using directive or an assembly reference?)

    Please can someone tell me what I have missed out, in order to get this to work?

    Many thanks in advance for your help!

    Will.

    Friday, November 3, 2017 10:12 AM

All replies

  • Hello,

    This is a forum for Microsoft SQL Server CE; you should post your question to a more related forum, like for Xamarin or SqLite.


    Olaf Helper

    [ Blog] [ Xing] [ MVP]

    Friday, November 3, 2017 11:05 AM