Payload contains two or more files with the same destination path 'System.Diagnostics.Tools.dll'

前端 未结 7 1492
-上瘾入骨i
-上瘾入骨i 2021-02-12 18:38

After I add 2 libraries from Nuget to my project I receive follow error:

Error       Payload contains two or more files with the same destination path \'System.D         


        
7条回答
  •  梦毁少年i
    2021-02-12 18:48

    The problem has solve it self. An update to the latest version of Microsoft.NETCore.UniversalWindowsPlatform has solved it.

    It look like that library A was compiled against version 5.1.0 and library B was compiled against version 5.2.2. Because my project was on version 5.1.0 there was a conflict situation. I does not understand why I have no conflict if I switch the UWP version.

    If I use the library B with the old UWP version there was also no conflict.

提交回复
热议问题