简体   繁体   中英

The processor architecture of the project being built “Any CPU” is not supported by the referenced SDK “SQLite.UWP.2015”. in Visual Studio 2017

Tried getting the library build by using release mode setting in configuration manager as Any CPU I am getting the following error

"The processor architecture of the project being built "Any CPU" is not supported by the referenced SDK "SQLite.UWP.2015, Version=3.30.1""

I am using the following references in the library:
1. SQLite for Universal Windows Platform
2. Microsoft.Extensions.DependencyInjections
3. SQLite.Net-PCL
4. NewtonSoft.Json

sqlite.dll file which is present in SQLite.UWP.2015 folder is specific to architecture. So, "Any CPU" doesn't work with this dll. In another way, you can build your project in the "Release" mode setting the architecture as x64/x84...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM