DEP0700: Registration of the app failed. [0x80080204] error 0xC00CE020: App manifest validation error: The app manifest must be valid as per schema: Line 40, Column 4, Reason: Required attribute 'PhonePublisherId' is missing.

Hong 1,211 Reputation points
2023-11-19T16:53:57.4433333+00:00

DEP0700: Registration of the app failed. [0x80080204] error 0xC00CE020: App manifest validation error: The app manifest must be valid as per schema: Line 40, Column 4, Reason: Required attribute 'PhonePublisherId' is missing.

I am migrating a UWP app to WinUI. I have ported the coded to the WinUI version and it ran fine. Then I associated this new version with the app in the store:

User's image

It went without any errors. However, I got the following error when I tried to run the app again:

DEP0700: Registration of the app failed. [0x80080204] error 0xC00CE020: App manifest validation error: The app manifest must be valid as per schema: Line 40, Column 4, Reason: Required attribute 'PhonePublisherId' is missing.

Could anyone shed some light on this?

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
801 questions
0 comments No comments
{count} votes

Accepted answer
  1. Junjie Zhu - MSFT 19,641 Reputation points Microsoft Vendor
    2023-11-20T03:48:39.4533333+00:00

    Hi @Hong ,

    Welcome to Microsoft Q&A!

    It is recommended that you add an empty PhonePublisherId in <mp:PhoneIdentity />, like this

    <mp:PhoneIdentity PhoneProductId="your PhoneProductId" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.