2013-01-14 84 views
6

我從this link.SQLite,讓Windows Phone的8不會編譯

但是下載了Windows Phone 8擴展了SQLite的Visual Studio 2012,編譯時,我得到這個錯誤:

The processor architecture of the project being built "Any CPU" is not supported by the referenced SDK "SQLite.WP80, Version=3.7.15.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". FacebookRandomizerWindowsPhone

顯然,我嘗試在Visual Studio 2012中的項目中更改平臺目標,這與我開發的Windows 8應用程序的工作方式相同。

然而,在Windows Phone 8應用程序,我不能改變的目標平臺,僅在頂部的平臺,這不會改變目標平臺:

Visual Studio

有沒有人有這個問題?

回答

6

轉到

Build => Configuration Manager

,並從那裏

首先更改設置,您必須設置通過配置管理器配置設置,因爲您的構建設置使用通過配置管理器

定義的設置

enter image description here

+0

這樣做,謝謝。那裏和編輯項目屏幕有什麼區別? – jbkkd

+0

查看更新的答案 –

0

我有同樣的問題,但我設法解決它, 在我的視覺工作室,我點擊建立菜單欄,然後​​配置管理器,然後我改變了平臺從任何CPU到x86,如下所示。

enter image description here