locked
Non GUID Package Name will fail certification

    Question

  • Double click appxmanifest file from Solution explorer, in the last tab, change Package name to some meaningful English name (eg. TestAppPackage) instead of GUID ==> Certification test fail "Could not find the package name. Please make sure your package name is valid.". 

    Change the name back to a GUID ==> Certification test pass.

    Is this intended? Are we only allowed to use GUID as package name? I thought this name would be shown in the Store right? It would be difficult to different our app from others app if only GUID is allowed. Besides, if truly only GUID is allowed for package name. Shouldn't this be placed somewhere more obvious to remind developers, eg. beside the Package Name text box...

    Thank you.

    Angela

    Thursday, March 8, 2012 3:43 AM

Answers

  • No, this is not expected, in fact I recommend changing the package name to be something useful :-).  There are some rules about what it can't have in it, but the manifest editor should validate for you.  After you change it are you building/deploying before running the certification tool again?  The name in the store will be the DisplayName, not the package name...


    Tim Heuer | Program Manager, XAML | http://timheuer.com/blog | @timheuer

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)

    Thursday, March 8, 2012 5:07 AM
  • @Angela - for the ApplicationId - you can change it as long as it conforms with the requirements in the manifest.  The AppId isn't shown to the user anywhere.

    Tim Heuer | Program Manager, XAML | http://timheuer.com/blog | @timheuer

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)

    • Marked as answer by Angela Yan Friday, March 9, 2012 6:42 AM
    Thursday, March 8, 2012 3:53 PM

All replies

  • No, this is not expected, in fact I recommend changing the package name to be something useful :-).  There are some rules about what it can't have in it, but the manifest editor should validate for you.  After you change it are you building/deploying before running the certification tool again?  The name in the store will be the DisplayName, not the package name...


    Tim Heuer | Program Manager, XAML | http://timheuer.com/blog | @timheuer

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)

    Thursday, March 8, 2012 5:07 AM
  • Thank you Tim.

    I remember  I selected 'rebuild solution' and 'deploy solution' before create the app package and run it through the certification tool. That is my practice. However, I am not able to repro this issue on a fresh blank solution right now. Will post it here again if I can repro this issue again.

    By the way, if I select 'view code' on the appxmanifest file, in the part of the code

    <Applications>
        <Application Id="App" ...... 

    ...

    Can we / are we supposed to change the "App" string?

    Thanks.

    Angela

    Thursday, March 8, 2012 7:04 AM
  • @Angela - for the ApplicationId - you can change it as long as it conforms with the requirements in the manifest.  The AppId isn't shown to the user anywhere.

    Tim Heuer | Program Manager, XAML | http://timheuer.com/blog | @timheuer

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)

    • Marked as answer by Angela Yan Friday, March 9, 2012 6:42 AM
    Thursday, March 8, 2012 3:53 PM