Answered by:
Failed Windows App Certification Kit's validation test

Question
-
I have a Microsoft Store App about ready to go, but it failed one of the Windows App Certification Kit’s validation tests – here’s the error message I got:
<TEST INDEX="43" NAME="Performance launch" DESCRIPTION="Application should have a responsive launch time with reasonable CPU, File IO and Memory usage" EXECUTIONTIME="00h:00m:02s.33ms" NGENFailed="TRUE">
<RESULT><![CDATA[FAIL]]></RESULT>
<MESSAGES>
<MESSAGE TEXT="The Native Image Generator failed" />
</MESSAGES>
</TEST>
Here’s some information I found on the internet about how to find the problem:
Procedure to identify the executable file that is failing
1. Search the following folder for the log file from the performance tests by using "Performance_Test__trace_Launch*.txt" as a wild-card search:
%userprofile%\appdata\local\microsoft\appcertkit
2. To identify the file that caused the problem, search the log file for the "[NGenTest]ERROR" string.
Here’s a portion of the appcertKit folder showing the errors I found therein:
program Information: 0 : 1/10/2013 12:35:00 PM INFO:The app 39755robertagans.mygodisreal_1.0.0.0_neutral__hdqdjns1qykr0 is not in running state.
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[NGenTest]PackageFullName value is : 39755robertagans.mygodisreal_1.0.0.0_neutral__hdqdjns1qykr0
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[NGenTest]32 Bit Ngen - C:\Users\Robert\Documents\visual studio 2012\Projects\Apps Windows Store\MyGodIsReal\MyGodIsReal\bin\Release\AppX\MyGodIsReal.exe
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[NGenTest]NGen Command: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ngen.exe install "C:\Users\Robert\Documents\visual studio 2012\Projects\Apps Windows Store\MyGodIsReal\MyGodIsReal\bin\Release\AppX\MyGodIsReal.exe" /NoDependencies /noroot /version:v4.0.30319 /package:"39755robertagans.mygodisreal_1.0.0.0_neutral__hdqdjns1qykr0" /localappdata:"C:\Users\Robert\AppData\Local\Packages\39755robertagans.mygodisreal_hdqdjns1qykr0\AC" /nologo
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[NGenTest]NGen Command Output:
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[NGenTest]ERROR: GetCorSvcBindToUnregisteredWorker failed because the worker process died with errorcode -2147221168
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[NGenTest]Uninstalling assembly C:\Users\Robert\Documents\visual studio 2012\Projects\Apps Windows Store\MyGodIsReal\MyGodIsReal\bin\Release\AppX\MyGodIsReal.exe because of an error during compilation: Worker exited unexpectedly during startup (Exception from HRESULT: 0x80131F04).
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[NGenTest]Worker exited unexpectedly during startup (Exception from HRESULT: 0x80131F04)
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[NGenTest]NGen Command Output end
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[NGenTest]ERROR: Failure while compiling: C:\Users\Robert\Documents\visual studio 2012\Projects\Apps Windows Store\MyGodIsReal\MyGodIsReal\bin\Release\AppX\MyGodIsReal.exe
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[NGenTest]Error occurred while generating compiling at least one assembly.
Invoking method [Cleanup]
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[Performance::Cleanup]Restoring system power configuration.
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[SystemConfigure::Cleanup]Setting original guid: 381b4222-f694-41f0-9685-ff5bb260df2e to active.
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -S 381b4222-f694-41f0-9685-ff5bb260df2e
program Information: 0 : 1/10/2013 12:35:00 PM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 1/10/2013 12:35:01 PM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 1/10/2013 12:35:01 PM INFO:[SystemConfigure::Cleanup]Deleting duplicate guid.
program Information: 0 : 1/10/2013 12:35:01 PM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -DELETE 4b90f9b4-4db4-43b0-9b37-7fe7ca4d15e1
program Information: 0 : 1/10/2013 12:35:01 PM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 1/10/2013 12:35:01 PM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 1/10/2013 12:35:01 PM INFO:[SystemConfigure::Cleanup]Reseting screen saver.
Does this suggest to anyone what I need to do to correct this error?
Robert Agans
Thursday, January 17, 2013 1:43 AM
Answers
-
Hi Jesse,
I'm entering this reply to let you people know that I have given-up on trying to build a Microsoft Windows store app until they come up with easier platforms to work with. therefore, I will mark this reply as the answer.
Robert Agans
- Marked as answer by BobOfCalif Thursday, December 12, 2013 6:40 PM
Thursday, December 12, 2013 6:39 PM
All replies
-
Hi,
Would you please provide us the whole codes to reproduce this issue,
You can upload your project to SkyDrive
http://skydrive.live.com/It is not necessary that you send out the whole of your project. We just need a simplest sample to reproduce the problem. You can remove any confidential information or business details from it.
Best regards,
Jesse
Jesse Jiang
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Edited by Jesse Jiang Friday, January 18, 2013 8:33 AM
Friday, January 18, 2013 6:28 AM -
Hi Jesse,
I just uploaded 12 files from my app to Robert Agans' SkyDrive.
Thanks for the response.
Robert Agans
- Edited by BobOfCalif Saturday, January 19, 2013 10:15 PM
Saturday, January 19, 2013 4:14 AM -
Hi Jesse,
I'm entering this reply to let you people know that I have given-up on trying to build a Microsoft Windows store app until they come up with easier platforms to work with. therefore, I will mark this reply as the answer.
Robert Agans
- Marked as answer by BobOfCalif Thursday, December 12, 2013 6:40 PM
Thursday, December 12, 2013 6:39 PM