Error creating Maui app package: GraphQLDefRule rule is missing the "{ItemType}" property

Aleksandrs Maksimovs 40 Reputation points
2023-03-13T18:29:42.5866667+00:00

I'm creating MAUI app using HotChocolate for GraphQL. Locally everything works ok (emulator, andriod device). Build run smoothly. But when I'm trying to create App archive, I'm getting error:

"Failed to create app. The "GraphQLDefRule" rule is missing the "{ItemType}" property.

What should i do? How can I fix this?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,857 questions
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,146 Reputation points Microsoft Vendor
    2023-03-16T01:22:49.0233333+00:00

    Hello,

    You can create a keystore file and publish the APP through the .NET command line interface. For more details, please refer to Use the CLI to publish for Android - .NET MAUI | Microsoft Learn

    As you @Aleksandrs Maksimovs said, creating keystore helps to solve this problem.

    Best Regards,

    Wenyan Zhang


    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful