none
Using Xamarin with SQLite, get an error: 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.

    Monday, November 6, 2017 8:28 AM

All replies