1. ochhanz's Avatar
    Hello,

    Deploying app packages for my app (store->create app packages (for side-loading)) seems to be quite buggy for some unknown reason. I almost get the following error (and some other similar "Payload contains two or more files..." errors):

    "Payload contains two or more files with the same destination path 'System.Runtime.InteropServices.dll'. Source files:
    C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\runtime.any.system.runtime.interopservices\4.1.0\lib\netcore50\System.Runtime.InteropServices.dll
    C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\runtime.aot.system.runtime.interopservices\4.0.20\runtimes\aot\lib\netcore50\System.Runtime.InteropServices.dll
    "

    Now the strange thing is that if I clean and rebuild my solution several times each time, eventually it works and I can successfully deploy the app (works on both pc and phone). However this is really annoying so I would like to prevent this error entirely, is there a way?

    Update: I am not sure but perhaps I found a fix. When I clear the NuGetPackage cache before deploying it does not seem to give any errors.
    Last edited by ochhanz; 10-05-2018 at 11:31 AM.
    10-05-2018 10:48 AM

Similar Threads

  1. Your Phone app on 2 PC's
    By bulls96 in forum Windows 10
    Replies: 3
    Last Post: 10-22-2018, 12:47 PM
  2. phone windows store error 0x00000194 on games not apps?
    By ochhanz in forum Windows 10 Mobile
    Replies: 12
    Last Post: 10-07-2018, 09:47 AM
  3. Why my windows deleting my files?
    By Samaresh Das in forum Windows 10
    Replies: 2
    Last Post: 10-06-2018, 05:58 PM
  4. With Google lurking, gaming has never been more critical to Microsoft
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 10-04-2018, 11:10 AM
LINK TO POST COPIED TO CLIPBOARD