Two applications in solution: The payload contains two or more files with the same destination address "App.xbf"

There is MainApplication + BackgroundAudioTask. Then I created another Windows Phone 8.1 application in one solution for unit testing purposes, calling it UnitTestApp.

UnitTestApp redirects to MainApplication (as well as to BackgroundAudioTask and some necessary libraries)

In VS 2013 Update 4, this solution does not compile. Error:

Payload contains two or more files with the same destination path 'App.xbf'. Source files: 
C:\Projects\Solution\UnitTestApp\bin\Debug\App.xbf
C:\Projects\Solution\MainApplication\bin\Debug\App.xbf  

How to fix this error?

+4
source share
1 answer

I had the same error, but files with the same name were "Assets / ApplicationIcon.png". I fixed it by excluding the Assets folder from the unittest project.

0

All Articles