microsoft-ui-xaml: Bug: Payload file does not exist - WinUI 2.5 packaging issue

Describe the bug

Unable to package my UWP app when using WinUI 2.5 prerelease. These errors show up: image

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Download this solution: https://1drv.ms/u/s!Ar4RhL72OhUDzrwOz9woYwhKfeDxjQ?e=m6A2qP
  2. Launch the .sln file in VS2019
  3. Rebuild solution
  4. Right click on WapProjTemplate1 > Publish > Create app package
  5. Select Microsoft Store as the distribution method
  6. Ensure the configuration looks like this: image
  7. Click create
  8. Packaging error occurs in a few seconds.

Expected behavior

No packaging error occurs.

Version Info

NuGet package version:

WinUI 2.5.0-prerelease.200609001

Windows 10 version Saw the problem?
Insider Build (xxxxx)
May 2020 Update (19041) Yes
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Additional context

I have tried WinUI 2.4.2 using this very same .sln and there is no packaging error.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21 (19 by maintainers)

Most upvoted comments

@dpaulino that’s awesome, glad you’re unblocked 😄

I’ve filed this internal bug on VS for this issue: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1157568

@stevenbrix The workaround worked for my real app! Can’t thank you enough!! 🙌🏽🎉🥳