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

前端 未结 7 1456
-上瘾入骨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条回答
  •  深忆病人
    2021-02-12 18:47

    In my case, I had "Any CPU" option selected so it was compiling the same library for both versions. Selecting x64 solved the problem for me.

提交回复
热议问题