[英]Compile error with sqlite and winrt
我剛剛打開了SDK的geolocation示例的csharp版本,我想做一個簡單的更改:我希望后台任務保存sqlite db中的坐標。
為此,我Microsoft Visual C++ Runtime Package, the SQLite for Windows Runtime, the sqlite-net library via codeplex, and switched the target Platform from any cpu to x64
添加了Microsoft Visual C++ Runtime Package, the SQLite for Windows Runtime, the sqlite-net library via codeplex, and switched the target Platform from any cpu to x64
。
試圖編譯,我收到此錯誤
Windows Runtime type 'Windows.Foundation.Point' was found in multiple
referenced winmd files. Please remove either 'C:\Program Files (x86)\
Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\References
\CommonConfiguration\neutral\platform.winmd' or 'C:\Program Files (x86)\
Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd'
from the list of referenced files.
我怎么解決這個問題?
我聽說如果將所有SQLite代碼移動到Windows商店類庫並從后台任務引用它將解決問題。
我的解決方法是刪除/重命名'C:\\ Program Files(x86)\\ Windows Kits \\ 8.0 \\ References \\ CommonConfiguration \\ Neutral \\ Windows.winmd'它只有18kb所以我認為它不太可能在那里需要任何東西
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.