【发布时间】:2017-06-02 12:21:20
【问题描述】:
我有 UWP 应用并使用 Akavache。添加 MobileCenter NuGet 包后,我在构建应用程序时遇到了这个问题:
Payload contains two or more files with the same destination path 'SQLitePCLRaw.batteries_v2.dll'.
Source files:C:\Users\user\.nuget\packages\SQLitePCLRaw.bundle_e_sqlite3\1.1.0\lib\uap10.0\SQLitePCLRaw.batteries_v2.dll
C:\Users\user\.nuget\packages\SQLitePCLRaw.bundle_green\1.1.2\lib\uap10.0\SQLitePCLRaw.batteries_v2.dll
如何在不移除 Akavache 或 VSMC 的情况下修复它?
【问题讨论】:
-
能否请您对 Eric 的 Sqlite PclRaw 存储库提出建议。
-
我会调查此事。我很清楚问题出在哪里,但我还不知道最好的解决方案是什么。
-
顺便说一句,复制很简单。文件新建 UWP 空白应用。添加 nuget 包 Microsoft.Azure.Mobile 和 akavache。构建。
-
我很确定问题是由于传递引用,bundle_green 和 bundle_e_sqlite3 都被添加到您的项目中。而且我很确定解决方法是阻止其中一个。但我还没有让这个真正起作用。你可以试试这个链接的信息:docs.microsoft.com/en-us/nuget/consume-packages/…
标签: uwp akavache mobile-center visual-studio-app-center