microsoft / Windows-Packaging-Samples

Windows Application Packaging Project Samples.
MIT License
55 stars 37 forks source link

APPX1111: Payload contains two or more files with the same destination path 'App.xbf' #11

Closed BrunoBlanes closed 3 years ago

BrunoBlanes commented 3 years ago

Hi there, I followed this tutorial on creating out-of-process background tasks for packaged WPF projects and I am getting the following error message:

APPX1111: Payload contains two or more files with the same destination path 'App.xbf', but they are different sizes. Source files: 
error APPX1111: C:\Users\bruno\source\repos\BrunoBlanes\Gamepedia-LOL\Gamepedia.Lol\Gamepedia.Lol\bin\x86\Debug\net5.0-windows10.0.19041.0\App.xbf
error APPX1111: C:\Users\bruno\source\repos\BrunoBlanes\Gamepedia-LOL\Gamepedia.Background\bin\x86\Debug\App.xbf

By my guess, both the WPF and the UWP projects are conflicting with one another. Did I do something wrong?

BrunoBlanes commented 3 years ago

I changed the UWP App.xaml to Main.xaml and it fixed it.