WindowsAppSDK
WindowsAppSDK copied to clipboard
Publish option missing from single-project apps upon first creation
Describe the bug (internal bug 36644830)
When you first create a new single-project packaged app, the "Package and Publish" menu option (for generating a MSIX) is missing. You must first close and re-open the solution or project before the option appears.
After first creating project | After close and reopen project |
---|---|
![]() |
![]() |
Steps to reproduce the bug
Steps to reproduce the behavior:
- In VS 2022, create a new single-project MSIX WinUI app
- Right click the newly created project
- Notice that the "Package and Publish" option is missing (only the .NET Publish option is present)
- Close and re-open the solution
- Notice the "Package and Publish" option is now present (it also seems to take some time to appear...)
Expected behavior Package and Publish option should be available instantly after creating the project.
Version Info
NuGet package version: 1.0.0-preview3
VS 2022 Preview 7, although impacts VS 2019 too as far as I remember.
Now the option doesnt come even after you restart the solution