You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build pipeline error: C:\Users\cloudtest\.nuget\packages\microsoft.windowsappsdk\1.0.0\build\Microsoft.Build.Msix.Packaging.targets#L1370 C:\Users\cloudtest\.nuget\packages\microsoft.windowsappsdk\1.0.0\build\Microsoft.Build.Msix.Packaging.targets(1370,5): Error APPX1101: Payload contains two or more files with the same destination path 'WinRT.Host.Shim.dll'. Source files: D:\a\_work\1\s\Samples\CustomControls\CsApp\obj\x86\Release\net6.0-windows10.0.19041.0\win10-x86\R2R\WinRT.Host.Shim.dll C:\Users\cloudtest\.nuget\packages\microsoft.windows.cswinrt\1.6.1\lib\net5.0\WinRT.Host.Shim.dll
Expected behavior
Build with no errors
Version Info
CsWinRT 1.6.1
.NET 6
The text was updated successfully, but these errors were encountered:
Current workaround is to set PublishReadyToRun to False in each pubxml file:
angelazhangmsft
changed the title
WindowsAppSDK authoring project build fails on command line
WindowsAppSDK authoring project build fails on command line (error with PublishReadyToRun)
May 9, 2022
Describe the bug
Authoring with Windows App SDK and a project reference to the component causes an error on command line build.
This is being tracked internally: task.ms/39285537
To Reproduce
C:\Users\cloudtest\.nuget\packages\microsoft.windowsappsdk\1.0.0\build\Microsoft.Build.Msix.Packaging.targets#L1370 C:\Users\cloudtest\.nuget\packages\microsoft.windowsappsdk\1.0.0\build\Microsoft.Build.Msix.Packaging.targets(1370,5): Error APPX1101: Payload contains two or more files with the same destination path 'WinRT.Host.Shim.dll'. Source files: D:\a\_work\1\s\Samples\CustomControls\CsApp\obj\x86\Release\net6.0-windows10.0.19041.0\win10-x86\R2R\WinRT.Host.Shim.dll C:\Users\cloudtest\.nuget\packages\microsoft.windows.cswinrt\1.6.1\lib\net5.0\WinRT.Host.Shim.dll
Expected behavior
Build with no errors
Version Info
CsWinRT 1.6.1
.NET 6
The text was updated successfully, but these errors were encountered: