The Native Image Generator failed

When submitting an App to the Windows 8 store I am repeatedly getting an error that relates to the failure of the native image generator.

There are a number of suggestions around this issue in this article which having worked through, and submitted an issue via  Connect (see here) I have finally implemented the suggested workaround:

As a last resort, you can disable automatic native image generation for your app by including a file that is named "nongen.txt" in your app package. Be aware that doing this may adversely affect startup and execution times for your app. Make sure that you file a Connect bug before you take this step.

This then resulted in an overall WACK pass:

image

NB The full failure report looks like this:

 

Windows App Certification Kit – Test Results

 
App name:
24525WebSurfaces.LiveTileNews
App version:
1.0.0.1
App publisher:
Web Surfaces
OS Version:
Microsoft Windows 8 Release Preview (6.2.8400.0)
Report time:
10/07/2012 13:26:24

Overall result: FAILED


Crashes and hangs test

PASSED

App launch tests

PASSED

Crashes and hangs

App manifest compliance test

PASSED

App manifest

Windows security features test

PASSED

Binary analyzer

Supported Metro style API test

PASSED

Supported APIs

Performance test

PASSED

Bytecode generation

FAILED

Performance launch

  • Error Found: The performance launch test collected the following results:.

    • The Native Image Generator failed
  • Impact if not fixed: Application launch time is important for creating a fast and fluid experience for the user. This app will not be accepted by the Windows Store.

  • How to fix: You should ensure that your app’s performance is consistent across different machine configurations and does not exceed the minimum requirements or it will potentially fail during Windows store onboarding. The informational metrics can provide insight into areas that could help improve your app’s performance, but do not impact your apps acceptance by the Windows Store. See link below for more information:
    Performance Best Practices

PASSED

Performance suspend

App manifest resources test

PASSED

App resources validation

Debug configuration test

PASSED

Debug configuration

File encoding

PASSED

UTF-8 file encoding

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>