UWP payload contains two or more paths 'xxx' with the same target

  The UWP project I recently made needs to integrate the unit test module, so I simply created a new UnitTest Project under the solution, added a reference to the UWP project I made before, then Clean->Build, and then stepped into the title shown pit.

错误信息:负载包含两个或更多具有相同目标路径“Assets\LargeTile.scale-100.png”的文件,源文件:xxx,目标文件:xxx

  Baidu has read a lot of dalao articles, Google has searched a lot of dalao's explanations, and finally found the problem! !

  When generating these two projects, if VS detects that this project has added references to other projects, it will then retrieve whether the versions of the project reference parts are consistent (for example: the author is because the content of the files shown in the two projects is The difference is that the file is a picture used for the large tile of the APP, and VS cannot identify whose Assert is used when it is generated)

  dalao's suggestion on StackOverFolw: simply and rudely, copy and paste the contents of the folder where the source file is located into the folder where the target file is located, and cover all the files.

  Finally, screenshots of the heated discussions on dalao:Payload contains two or more files with the same destination path

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325527265&siteId=291194637
UWP