UWP app -Invalid package family name, after update certificate
I solved this issue. I made a mistake when creating new certificate. It must be so:
- Open Package.appxmanifest.
- Go to the "Packaging" tab.
- Copy Publisher DN(number after CN=)
- Click the button "Choose Certificate" and select the item "Create test certificate..."
- Copy the publisher DN from step 3 to the first editable text field
I found this MSDN blog: https://blogs.msdn.microsoft.com/jamiedalton/2017/01/13/windows-store-error-updating-package-invalid-package-family-name/
The blog states that you should associate your App to the Store App using Visual Studio.
This seems to be the right answer.
Update for Visual Studio 2019
- Open Package.appxmanifest from Solution Explorer
- Go to "Packaging" tab
- Copy Publisher name after CN=. Looks like a GUID
- Click "Choose Certificate..."
- Click "Configure Certificate..."
- Click "Create..."
- Paste GUID from #3 into "Publisher Common Name"
- Proceed to create and save certificate
Problem seems that it defaults to developer name instead of using the original GUID