5
votes

I want to use sqlite db in my windows phone 8 app.

I am have come across a blog which I am following to use sqlite in my app.

The version I have downloaded for SQLite for Windows Phone is 3.8.0. Also I have downloaded sqlite-net-wp8 project from GITHUB.

The problem I am facing is that while including this sqlite-net-wp8 prject in my WP8 app solution, its giving an error

Unable to read the project file Sqlite.vcxproj

Also it says,

the imported project C:\Program Files\Microsoft SDKs\Windows Phone\v8.0\ExtensionSDKs\SQLite.WP80\3.8.0.2\DesignTime\Common Configuration\Neutral\SQLite.QP80.props not found

What am I doing wrong ??

3

3 Answers

3
votes

I Hope this link helps as it is from MsDn

Sqlite for windows phone 8

1
votes

Open your Solution in Visual studio. Click on Tools->Extension and Update it will open Extension and Update Browser windows than search Sqlite for windows online and install Sqlite from searched result. than it will restart your SDK

0
votes

Based on my understanding, you will get the same error even when you create every simple Visual C++ windows phone project from VS2012. In this case, I doubt that the issue is related to your VS.

And according to Konrad’s reply in this thread with similar issues: http://social.msdn.microsoft.com/Forums/en-US/cba01040-067e-4ac3-ba4c-a8a14ba3c45d/unable-to-read-the-project-file, I feel that you can check if this file: C:\Program Files(x86)\MSBuild\Microsoft\WindowsPhone\v7.0\Microsoft.Cpp.Windows Phone.7.0.targets is on your system. If it is not there, I doubt that your VS installation is wrong.

If you are not using VS Express, you could locate to the IDE folder then run these commands to check if it can help:

Please open Windows Explorer, and navigate to  <Visual Studio Installation Path>\Common7\IDE
Devenv.exe /SafeMode: Launches the IDE in safe mode loading minimal windows.
Devenv.exe /ResetSettings: Restores the IDE's default settings, optionally resets to the specified VSSettings file.
Devenv.exe /ResetAddin: Removes commands and command UI associated with the specified Add-in.
Devenv.exe /ResetSkipPkgs: Clears all SkipLoading tags added to VSPackages.

If no help, I suggest you try repairing your VS or uninstall it and then reinstall it.

Best regards,