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?

Developer technologies | .NET | .NET MAUI
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    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

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.