Bug: Payload file does not exist - WinUI 2.5 packaging issue
See original GitHub issueDescribe the bug
Unable to package my UWP app when using WinUI 2.5 prerelease. These errors show up:
Steps to reproduce the bug
Steps to reproduce the behavior:
- Download this solution: https://1drv.ms/u/s!Ar4RhL72OhUDzrwOz9woYwhKfeDxjQ?e=m6A2qP
- Launch the
.sln
file in VS2019 - Rebuild solution
- Right click on
WapProjTemplate1
> Publish > Create app package - Select Microsoft Store as the distribution method
- Ensure the configuration looks like this:
- Click create
- 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:
- Created 3 years ago
- Comments:21 (21 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub 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!! 🙌🏽🎉🥳