I have a existing UWP Application. When I upgrade to EF Core 3.1 I get the following build error:
error APPX1101: Payload contains two or more files with the same destination path 'e_sqlite3.dll'. Source files: error APPX1101: C:\Users\ninop\.nuget\packages\sqlitepclraw.lib.e_sqlite3\2.0.2\runtimes\win10-x86\nativeassets\uap10.0\e_sqlite3.dll error APPX1101: C:\Users\ninop\.nuget\packages\sqlitepclraw.lib.e_sqlite3.v140\1.1.2\runtimes\win10-x86\native\e_sqlite3.dll
I tried to delete the .nuget cache and restarting VS but without success. Also the issue occurs on multiple computers. Also reinstalling EF Core didn't help.
EDIT: My Application has Target Version 1903 and Min Version 16299
Also tried deleting bin and obj folder and chaning the build platform afterwards, but without success.
EDIT2: For reference here is the source code with the related branch: https://github.com/NPadrutt/MoneyFox.Windows/tree/update-nugets
The issue seems to be related to the AppCenter package:
I could resolve the issue by removing the AppCenter Nuget from my UWP Project.