locked
App Cert, error code 0x80131522

    Question

  • Performance test failed with unreadable message ",g:g螾ubhV1Y%?"

    Then I found the test log "[username]\AppData\Local\Microsoft\AppCertKit\Performance_Test__trace_Launch_6252012_153044.txt"

    -------------------------------------------------------------
    program Information: 0 : INFO:[NGenTest]32 Bit Ngen - D:\MyProj\MetroIrr\Release\dx\AppX\InternalInterfaces.winmd
    program Information: 0 : INFO:[NGenTest]ERROR: Failure while compiling: D:\MyProj\MetroIrr\Release\dx\AppX\InternalInterfaces.winmd
    program Information: 0 : INFO:[NGenTest]64 Bit Ngen - D:\MyProj\MetroIrr\Release\dx\AppX\InternalInterfaces.winmd
    program Information: 0 : INFO:[NGenTest]ERROR: Failure while compiling: D:\MyProj\MetroIrr\Release\dx\AppX\InternalInterfaces.winmd
    program Information: 0 : INFO:[NGenTest]Error occurred while generating compiling at least one assembly.
    --------------------------------------------------------------

    TE msg

    ------------------------------
    StartGroup: Microsoft.Windows.SoftwareLogo.Performance.Performance.Launch
    Failed to compile D:\MyProj\MetroIrr\Release\dx\AppX\InternalInterfaces.winmd because of the following error: Could not find or load a type. (Exception from HRESULT: 0x80131522).
    -----------------------------------

    Any one can tell me what's wrong?

    P.S.
    Official Sample "UI Automation core window provider sample" also has this problem. http://code.msdn.microsoft.com/windowsapps/UI-Automation-core-window-4558ec23/view/SourceCode

    Monday, June 25, 2012 7:44 AM

Answers

All replies

  • Any one please check this sample:

    "UI Automation core window provider sample" 

    http://code.msdn.microsoft.com/windowsapps/UI-Automation-core-window-4558ec23/view/SourceCode

     

    C++ DX11

    Monday, June 25, 2012 4:46 PM
  • NGen failed.

    InternalInterfaces.winmd is a compiled IDL metadata file, not a .NET Assembly.  Why NGen?  BUG??

    -------------------------NGEN OUTPUT MESSAGE-------------------------------------------------------
    Failed to compile D:\MyProj\MetroIrr\Release\Direct3DApp1\AppX\InternalInterface
    s.winmd because of the following error: Could not find or load a type. (Exceptio
    n from HRESULT: 0x80131522).
    Uninstalling assembly D:\MyProj\MetroIrr\Release\Direct3DApp1\AppX\InternalInter
    faces.winmd because of an error during compilation: Failed to compile D:\MyProj\
    MetroIrr\Release\Direct3DApp1\AppX\InternalInterfaces.winmd because of the follo
    wing error: Could not find or load a type. (Exception from HRESULT: 0x80131522).

    Could not find or load a type. (Exception from HRESULT: 0x80131522)


    C++ DX11

    Tuesday, June 26, 2012 4:18 AM
  • Thanks for reporting this. Looking into this now. Moving to the Tools forum where we trace the WACK issues.

    David Lamb

    Tuesday, June 26, 2012 6:33 PM
    Moderator
  • For the .winmd that is generating the failure in your app, you can use this article and the referenced utility to investigate the WACK tool failure: Known issues in automatically generating native images

    David Lamb

    • Marked as answer by Raptor K Wednesday, June 27, 2012 2:14 AM
    Tuesday, June 26, 2012 6:52 PM
    Moderator