Mak*_*luv 7 akavache uwp mobile-center visual-studio-app-center
我有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
Run Code Online (Sandbox Code Playgroud)
如何在不删除Akavache或VSMC的情况下修复它?
根据 @Eric Sink 评论,我尝试排除 Mobile Center 重复的 DLL,据我所知,Mobile Center 使用 Akavache sqlite 依赖项可以正常工作。不过我没有在运行时测试 Akavache。
我正在使用project.json,这对我有用:
"SQLitePCLRaw.bundle_green": {
"version": "1.1.2",
"exclude": "all"
}
Run Code Online (Sandbox Code Playgroud)
内部dependencies对象。
| 归档时间: |
|
| 查看次数: |
314 次 |
| 最近记录: |