peterhuene / sqlite-net-wp8

A C++/CX wrapper for SQLite functions that sqlite-net depends on. Can be used as an alternative to csharp-sqlite on Windows Phone 8. This library is released under the MIT license.
MIT License
74 stars 65 forks source link

problem with sqlite #23

Closed muktigoutam closed 11 years ago

muktigoutam commented 11 years ago

Hello,

I am new with window phone application, i have developed an window phone app in c# in which i have used sqlite as well i had integrated sqlite successfully but when i have changed my machine and i ran my application on another machine then it was showing error in sqlite project, i tried to reload it but failed every time it failed then i removed it and tried to add it again then i am getting the following error please help me to resolve this problem . image

termvader commented 11 years ago

I think you have installed a new version of SQLite for Windows Phone. You can check out the version from Tools -> Extensions & Updates The current version is 3.8.0.2 While your project is referring to version 3.7.1.7 Try downgrading the extension or get the latest master of this repo.

peterhuene commented 11 years ago

As termvader said, you will need to update sqlite-net-wp8 to the appropriate version (you can usually just pull the latest from master, as I push up a new reference whenever they update the extension).

muktigoutam commented 11 years ago

Thanks, i have updated it and resolved problem, now i am getting following error when rebuild the project

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

peterhuene commented 11 years ago

Where are you observing the error?

muktigoutam commented 10 years ago

image

peterhuene commented 10 years ago

And you're referencing the SQLite project as a project reference from your "APP TRAP" project?

muktigoutam commented 10 years ago

yes

termvader commented 10 years ago

Go to your Solution Explorer, you should see atleast two projects.

Go to App Trap -> References, See if Sqlite is there in that list. If not then right click on References and select Add Reference. From the left hand pane select Solution and then select the checkbox for Sqlite in the center pane.

If you don't have Sqlite in your solution then select Add Existing Project and add it or add a precompiled dll to it. (Make sure its set for the same target platform as to where you are testing.)

Send us a screenshot of your Solution Explorer with References otherwise.

muktigoutam commented 10 years ago

Thank you so much...... I have followed above steps and my problem has been resolved.