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.
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:
NB The full failure report looks like this:
Windows App Certification Kit – Test Results
Overall result: FAILED
Crashes and hangs test
App launch tests
Crashes and hangs
App manifest compliance test
Windows security features test
Supported Metro style API test
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
App manifest resources test
App resources validation
Debug configuration test
UTF-8 file encoding