Trying to run UWP in release mode gives an "Payload contains two or more files.." error

BobHowardBobHoward USMember ✭✭

Running this app in debug mode works fine, but when I try to run in release mode, I get these errors:

Error Payload contains two or more files with the same destination path 'e_sqlite3.dll'. Source files:
C:\Users\Bob.nuget\packages\sqlitepclraw.lib.e_sqlite3.v140\1.1.8\runtimes\win10-arm\native\e_sqlite3.dll
C:\Users\Bob.nuget\packages\sqlitepclraw.lib.e_sqlite3.v140\1.1.8\runtimes\win10-x86\native\e_sqlite3.dll

I have seen other posts where some users have updated the nuget for UWP and others that have actually deleted one of the dll's, but none of these work for me; when I try to delete one, I then get an error that it can't find it, so not sure what to do. I have deleted my nuget folder and re-got them fresh but nothing seems to work.

Posts

  • BobHowardBobHoward USMember ✭✭

    Well, I ended up opening an issue with Microsoft over it and turns out that I had the build target set to ARM (Project properties->Build->Platform Target) which apparently tries to copy 2 different versions. I set it to x86 and works fine.

Sign In or Register to comment.