locked
Failed in Windows App Cert Kit in Metadata validation. Signature does not match RRS feed

  • Question

  • Our Application has failed in Windows App Cert Kit while we want to publish in store. Our Application doesn't have any error and running successfully. We need to pass the test but we get error in metadata validation section. We implement IVector class for Native C++ classes as a template class. Methods of IVector , GetMany and IndexOf give error which says signature of these methods does not match with the windows.winmd. How can we pass the exam and fix the errors. Here is our implementation of methods;

    virtual unsigned int GetMany(unsigned int, Platform::WriteOnlyArray ^) {..}

    virtual bool IndexOf(WindowsPanoramaWRC::IBmWrapper ^ val, unsigned int * val2) {..}

    Wednesday, July 15, 2015 7:31 AM

Answers

  • Hi Univera,

    Welcome to the Developing Universal Windows apps forum! 

    What type of app are you writing? As a friendly reminder please make sure to add the appropriate tags to the title of your post as per Guide to posting: subject line tags

    >>We implement IVector class for Native C++ classes as a template class. Methods of IVector , GetMany and IndexOf give error which says signature of these methods does not match with the windows.winmd.

    Ref Type system document: https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh755822.aspx

    The types in the Platform::Collections Namespace don't appear in the .winmd file because they are not public. They are private C++-specific implementations of the interfaces that are defined in Windows::Foundation::Collections. A Windows Runtime app that's written in JavaScript or C# doesn't know what a Platform::Collections::Vector Class is, but it can consume a Windows::Foundation::Collections::IVector. The Platform::Collections types are defined in collection.h.

    Perhaps this will block your app to pass the validation, if you need further help, could you please provide a demo removed sensitive data for troubleshooting.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, July 16, 2015 2:09 PM