WindowsAppSDK icon indicating copy to clipboard operation
WindowsAppSDK copied to clipboard

Publish option missing from single-project apps upon first creation

Open andrewleader opened this issue 3 years ago • 2 comments

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
image image

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. In VS 2022, create a new single-project MSIX WinUI app
  2. Right click the newly created project
  3. Notice that the "Package and Publish" option is missing (only the .NET Publish option is present)
  4. Close and re-open the solution
  5. 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.

andrewleader avatar Oct 27 '21 22:10 andrewleader

Now the option doesnt come even after you restart the solution

HarshJainCodes avatar Mar 16 '24 11:03 HarshJainCodes