question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub 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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
stevenbrixcommented, Jul 16, 2020

@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

1reaction
dpaulinocommented, Jul 16, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

'Payload file does not exist' What does this mean?
To workaround this, go to the DLL output folder (e.g. bin\Release), create a new folder named like your DLL-Name (e.g. MyUserControlLibrary) and ...
Read more >
Fixing “Payload file rd.xml does not exist” when creating a ...
Here rd.xml files were pulled into the package by file - kind of like I was ... does not exist” when creating a...
Read more >
Stable channel release notes for the Windows App SDK
This is a servicing release of the Windows App SDK that includes critical bug fixes for the 1.2 release. Fixed issue causing self-contained...
Read more >
Preview channel release notes for the Windows App SDK
This release includes previews for new features across WinAppSDK and several performance, security, accessibility and reliability bug fixes. In ...
Read more >
Microsoft Store Download Error After A Couple Seconds
Bug : Payload file does not exist - WinUI 2.5 packaging issue ... Groovytip: Quickly Find Windows 10 Drivers Using The Hardware Id....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found