WSL-DistroLauncher icon indicating copy to clipboard operation
WSL-DistroLauncher copied to clipboard

README.md Getting Started: Packaging Tab cannot be found

Open Hoverbear opened this issue 6 years ago • 13 comments

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}")

Hoverbear avatar Oct 02 '19 14:10 Hoverbear

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

Biswa96 avatar Oct 02 '19 14:10 Biswa96

@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.

Hoverbear avatar Oct 02 '19 15:10 Hoverbear

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

Biswa96 avatar Oct 02 '19 15:10 Biswa96

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. :)

Hoverbear avatar Oct 02 '19 15:10 Hoverbear

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.

Biswa96 avatar Oct 02 '19 15:10 Biswa96

Ok, thanks. :)

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

Hoverbear avatar Oct 02 '19 15:10 Hoverbear

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

benhillis avatar Oct 03 '19 16:10 benhillis

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

Hoverbear avatar Oct 03 '19 16:10 Hoverbear

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

bonafont avatar Oct 06 '19 18:10 bonafont

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

Hoverbear avatar Oct 07 '19 15:10 Hoverbear

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

gusbemacbe avatar Oct 27 '19 01:10 gusbemacbe

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

Hoverbear avatar Nov 01 '19 21:11 Hoverbear

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

AKoskovich avatar Dec 24 '19 23:12 AKoskovich