microsoft / WSL-DistroLauncher

Sample/reference launcher app for WSL distro Microsoft Store packages.
MIT License
1.67k stars 517 forks source link

README.md Getting Started: Packaging Tab cannot be found #62

Open Hoverbear opened 4 years ago

Hoverbear commented 4 years ago

Hi!

Using fresh, never opened VS2019 Community Edition installed within the last week.

Following step 1.ii and 1.iii here: https://github.com/microsoft/WSL-DistroLauncher#getting-started

When you open the MyDistro.appxmanifest it is unclear where the "Packaging" tab is.

image

Could this portion of the README.md receive some clarity?

It looks like I should be doing something like

New-SelfSignedCertificate -Type Custom -Subject "CN=Hoverbear, O=Hoverbear, C=CA" -KeyUsage DigitalSignature -FriendlyName "Hoverbear" -CertStoreLocation "Cert:\CurrentUser\My" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}")
Biswa96 commented 4 years ago

In the upper left corner, File -- Edit -- View -- Project.

Hoverbear commented 4 years ago

@Biswa96 Sorry, I was unclear what my problem was, could you take a look at the updated description?

It's the "Packaging" tab not Project.

Biswa96 commented 4 years ago

See this tutorial about Package a UWP app with Visual Studio where the package tab is mentioned.

Hoverbear commented 4 years ago

I have already read this page (reading from https://docs.microsoft.com/en-us/windows/msix/package/packaging-uwp-apps#configure-an-app-package):

image

Which takes you to here: https://docs.microsoft.com/en-us/windows/msix/package/create-certificate-package-signing#use-new-selfsignedcertificate-to-create-a-certificate

image

Which is the command I have in the issue description. :)

Biswa96 commented 4 years ago

I don't know what is suggested by Microsoft but for personal usecase I execute MakeCert.exe to generate certificate and SignTool.exe to sign appx file. Those are in Windows 10 SDK folder.

Hoverbear commented 4 years ago

Ok, thanks. :)

This is still an open issue though since the README is unclear and/or incorrect.

benhillis commented 4 years ago

@Hoverbear - if you'd like to submit a PR to make the documentation more clear with your findings that'd be helpful.

Hoverbear commented 4 years ago

@benhillis I would love to, could you help me understand what the 'correct' workflow is?

bonafont commented 4 years ago

Change your config from ARM64 to x64, it will solve your problem. Don't know why VS open it as a ARM64 solution...

Hoverbear commented 4 years ago

@bonafont That sadly still does not show any packaging tab.

gusbemacbe commented 4 years ago

It seems that Packaging is not available for Visual Studio Community. :-(

Hoverbear commented 4 years ago

So it's not possible to follow the guide with VS Community?

ZVNexus commented 4 years ago

No, its not just an issue in Community, same thing happens in Pro. Have no idea where its located.