Reputation: 52
this is my first post. I get this error
The processor architecture of the project being built "Any CPU" is not supported by the referenced SDK "SQLite.WP80, Version=3.8.10.2". Please consider changing the targeted processor architecture of your project (in Visual Studio this can be done through the Configuration Manager) to one of the architectures supported by the SDK: "x86, ARM".
while working in windows phone app and using SQLite. If I set the architecture to ARM then it will disappear but I got another error of missing "community" from namespace in SQLite.cs file. Any one can help me out? Thanks in advance.
Upvotes: 0
Views: 731
Reputation: 1892
follow this:
Install Extension "SQLite for Windows Phone" from Tools -> Extension and Updates Menu
. check screenshot 1
Then Install NuGet Pacakge sqlite-net-wp8
from NuGet Package manager. check screenshot 2
then add Conditional Compilation symbol USE_WP8_NATIVE_SQLITE
in Project properties -> Build settings. check screenshot 3
Then Try to ReBuild the solutions and the errors will be gone..!
(I assumed that you've already copied those two files SQLite.cs
and SQLiteAsync.cs
)
Reference Links:
Type or namespace 'Sqlite' could not be found in SQLite.cs
Upvotes: 1