microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.16k stars 666 forks source link

Can not Build Project due to error message APPX110 Payload contains two or more files with the same destination path '.pdb'. #9634

Open vsfeedback opened 1 month ago

vsfeedback commented 1 month ago

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work] l have a WinUI application (net8.0-windows10.0.19041.0), which has a dependency in another Class Library project which Targets .net 6 & .net 7 (net6.0-windows10.0.19041.0;net7.0-windows10.0.19041.0). When l try to Build the Solution an error message Code APPX110 Payload contains two or more files with the same destination path 'MyClassLibrary.pdb'. Severity Code Description Project File Line Suppression State Details Error APPX1101 Payload contains two or more files with the same destination path 'C1.WinUI.Core.pdb'. Source files: C:\Users\User\Documents\WinUI\Controls\bin\Debug\net7.0-windows10.0.19041.0\MyClassLibrary.pdb C:\Users\User\Documents\WinUI\Controls\bin\Debug\net6.0-windows10.0.19041.0\MyClassLibrary.pdb C:\Users\User.nuget\packages\microsoft.windowsappsdk\1.5.240404000\buildTransitive\Microsoft.Build.Msix.Packaging.targets 1515


Original Comments

Feedback Bot on 4/25/2024, 07:35 PM:

(private comment, text removed)

Ann Yang [MSFT] on 4/26/2024, 00:14 AM:

(private comment, text removed)

Rexhina Hoxha on 4/26/2024, 08:24 AM:

(private comment, text removed)

Rexhina Hoxha on 4/26/2024, 08:47 AM:

(private comment, text removed)

Feedback Bot on 5/7/2024, 07:45 PM:

(private comment, text removed)

Feedback Bot on 5/7/2024, 11:29 PM:

(private comment, text removed)


Original Solutions

(no solutions)

github-actions[bot] commented 1 month ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

arivoir commented 1 month ago

Any news about this bug?

rexhinahoxha commented 1 month ago

Here is the Sample you can reproduce the issue Sample.zip here is the recording

20240426-174652-20240426-1544-34.1176407.zip

rexhinahoxha commented 3 weeks ago

Hi, do we have any update?

arivoir commented 1 week ago

@codendone is there any update? this bug is causing a lot of problems for us.