Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Windows Store "Create App Packages" errors

Discussion in 'Windows' started by TegTap-In, Sep 16, 2013.

  1. TegTap-In

    TegTap-In

    Joined:
    Apr 23, 2013
    Posts:
    5
    I've built my app for Windows Store, run it successfully from within the Visual Studio package created by Unity, associated my app with the Store, but every time I try to create the app package via STORE->Create App Packages, I get the following 2 errors in Visual Studio:

    1) Cannot import the key file 'MetroTestCertificate.pfx'. The key file may be password protected. To correct this, try to import the certificate manually into the current user’s personal certificate store.

    2) The certificate specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478.

    I've been banging my head against this for days, I've read everything I can find online (which isn't much,) and I've followed every step-by-step list I can find for submitting an app to the Windows Store.

    Has anyone else run into this, or has anyone successfully packaged an app for the Windows store?
     
  2. feloque

    feloque

    Joined:
    Apr 30, 2013
    Posts:
    6
    Hello,

    I have the same problem.

    Please, did you find the solution?

    Thank you.
     
  3. TegTap-In

    TegTap-In

    Joined:
    Apr 23, 2013
    Posts:
    5
    Still no solution. I spent a bunch of time on a chat with a windows developer relations guy, but he couldn't help. Sorry you're having the same problem, but at least I know I'm not alone. Please post if you find a solution.
     
  4. feloque

    feloque

    Joined:
    Apr 30, 2013
    Posts:
    6
    Microsoft support did not help me too.

    So the solution I found is...

    - Open your VS12 Project
    - Double click on Package.appxmanifest
    - Go to Packaging tab
    - Click Choose Certificate
    - And then create test certificate

    So you will create a new pfx file using VS.
     
    kwcae and Meltdown like this.
  5. RemiHac

    RemiHac

    Joined:
    Jun 8, 2013
    Posts:
    13
    Thank you feloque
    click choose certificate
    click configure certificate
    select from file and use MetroTestCertificate.pfx that unity created
     
    miladxandi likes this.
  6. drewnusser

    drewnusser

    Joined:
    Aug 18, 2013
    Posts:
    13
    Thanks you guys, this one was bugging me for a while!
     
  7. miladxandi

    miladxandi

    Joined:
    Apr 25, 2017
    Posts:
    1
    This solved my problem