Open AmelBawa-msft opened 1 month ago
We are not able to do any background task APPX1101 Payload contains two or more files with the same destination path 'WinRT.Runtime.dll'. Source files: C:\Users\roshan.bhore.nuget\packages\microsoft.windows.cswinrt\2.0.7\lib\net6.0\WinRT.Runtime.dll C:\Users\roshan.bhore.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.31\lib\net6.0\WinRT.Runtime.dll CCApp C:\Users\roshan.bhore.nuget\packages\microsoft.windowsappsdk\1.5.240607001\buildTransitive\Microsoft.Build.Msix.Packaging.targets 1532
Any timeline for this issue?
We are not able to do any background task APPX1101 Payload contains two or more files with the same destination path 'WinRT.Runtime.dll'. Source files: C:\Users\roshan.bhore.nuget\packages\microsoft.windows.cswinrt\2.0.7\lib\net6.0\WinRT.Runtime.dll C:\Users\roshan.bhore.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.31\lib\net6.0\WinRT.Runtime.dll CCApp C:\Users\roshan.bhore.nuget\packages\microsoft.windowsappsdk\1.5.240607001\buildTransitive\Microsoft.Build.Msix.Packaging.targets 1532
Any timeline for this issue?
Even though both your issue and the above have similar error messages, they are different issues. I think this might be fixed in the next release as we had a related fix in #1643. What is your projection structure? Is it a C# app and a C# library which is an authoring component or is it a C# native app?
I am using Winui3 package application, just wanted to add background task - but as it is currently impossible to integrate the same with class library with APPX1101 error
Describe the bug Found this issue when working on Dev Home where we're authoring a component that references other C# projects.
Pull request where this issue repros: https://github.com/microsoft/devhome/pull/3134
Mitigation: https://github.com/microsoft/CsWinRT/issues/1327#issuecomment-1549129528
Error output