Windows App Certification Kit hangs

General Tech QA/Testing 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on QA/Testing related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I have developed windows 10 App and uploaded that to windows store. However, I wanted to apply Windows Certification App Kit. The testing hangs during these two stages;

Direct3D trim after suspend In progress... UTF-8 file encoding In progress...

I don't use any of those features in my app, but I don't understand why it should hang during process?

Thank you!

profilepic.png
manpreet 2 years ago

 

I ran into this exact same issue:

"Direct3D trim after suspend In progress... UTF-8 file encoding In progress..."

Problem was that I didn't try to run the Release Version locally first. It didn't run because I used preprocessor directives like so:

public static LicenseInformation licenseInformation = null;

...

#if DEBUG
        ...
        ...
        licenseInformation = CurrentAppSimulator.LicenseInformation;
#else
        licenseInformation = CurrentApp.LicenseInformation;
#endif

"CurrentApp" did cause an exception.. I use code like this now:

#if DEBUG
        ...
        ...
        licenseInformation = CurrentAppSimulator.LicenseInformation;
#else
        try
        {
            licenseInformation = CurrentApp.LicenseInformation;
        }
        catch (Exception)
        {
        } 
#endif

And when working with the licenseInformation somewhere I check if it is not null before I use it...

I also found some other issues (warnings) in my code by using "Run Code Analysis on Solution"..

So in my case it was a problem with my code.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.