[英]using sqlite for a windows phone 8 app
我想在我的Windows Phone 8應用程序中使用sqlite db。
我遇到了一個博客 ,我在我的應用程序中使用sqlite。
我為SQL Phone for Windows Phone下載的版本是3.8.0。 我也從GITHUB下載了sqlite-net-wp8項目。
我面臨的問題是,在我的WP8應用程序解決方案中包含這個sqlite-net-wp8 prject,它給出了一個錯誤
Unable to read the project file Sqlite.vcxproj
它也說,
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
我究竟做錯了什么 ??
我希望這個鏈接有用,因為它來自MsDn
在Visual Studio中打開您的解決方案。 單擊工具 - >擴展和更新它將打開擴展和更新瀏覽器窗口,而不是在線搜索Sqlite for Windows並從搜索結果安裝Sqlite。 而不是它將重新啟動您的SDK
根據我的理解,即使從VS2012創建每個簡單的Visual C ++ Windows Phone項目,您也會得到相同的錯誤。 在這種情況下,我懷疑這個問題與你的VS有關。
根據Konrad在此主題中的回復,類似問題: http : //social.msdn.microsoft.com/Forums/en-US/cba01040-067e-4ac3-ba4c-a8a14ba3c45d/unable-to-read-the-project-文件 ,我覺得你可以檢查這個文件:C:\\ Program Files(x86)\\ MSBuild \\ Microsoft \\ WindowsPhone \\ v7.0 \\ Microsoft.Cpp.Windows Phone.7.0.targets在你的系統上。 如果它不存在,我懷疑你的VS安裝是錯誤的。
如果您沒有使用VS Express,則可以找到IDE文件夾,然后運行這些命令以檢查它是否可以提供幫助:
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.
如果沒有幫助,我建議你嘗試修復你的VS或卸載它然后重新安裝它。
最好的祝福,
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.