10. dubna 2012 13:02
I have the following trouble: my metro-style application on the community preview x64 does not get validated by the appcert. The application gets deployed successfully and is running fine.
Appcert says that "The Windows App Certification Kit cannot continue testing since the specified Me
tro style App was not found. Please verify that the packagefullname is correct.".
I tried the following:
1. Create a new Metro Style Grid Application with XAML/C#.
2. Create a package using Store->Create App Package then validate it from Visual Studio - the application was not found.
Then i tried to get the list of the applications by callig the powershell Get-AppxPackage >out.txt, then i found the full package name of my application and ran the appcert from the command line.
Output from the powershell command:
Name : TestPackage.Manifest
Publisher : CN=Ali.000
Architecture : Neutral
Version : 18.104.22.168
PackageFullName : TestPackage.Manifest_22.214.171.124_neutral__ar95b2vbnzzyw
InstallLocation : C:\Program Files\WindowsApps\TestPackage.Manifest_126.96.36.199_neu
IsFramework : False
Console appcert example:
"C:\Program Files\Windows Kits\8.0\App Certification Kit\appcert.exe" reset
"C:\Program Files\Windows Kits\8.0\App Certification Kit\appcert.exe" test -apptype metrostyle -packagefullname TestPackage.Manifest_188.8.131.52_neutral__ar95b2vbnzzyw -reportoutputpath "c:\projects\source\report.xml"
But the error is still the same: the application is not found.
I've launched the appcertui.exe and was unable to see only Ms applications like the Bing finance.
I'm also able to validate the Bing Finance application from console.
- Upravený Aliaksandr_Pedzko 10. dubna 2012 13:03
10. dubna 2012 20:38Moderátor
could you check the following
1) Open a powershell window
2) Do a “Get-AppxPackage > out.txt”
3) Open out.txt and look at InstallLocation field of all the apps installed.
4) For the apps whose InstallLocation is blank, do a “Remove-AppxPackage <packageFullName>”
There is a bug with the Consumer Preview list where the appcertkitui doesn't list all the packages installed if it encounters a package with a blank Installlocation.
- Označen jako odpověď Aliaksandr_Pedzko 12. dubna 2012 6:33
12. dubna 2012 6:35
Great thanks, this helped me. Now i have another problem: all the apps fail launch and suspend tests with the following error:
Exception: Infrastructure Error: Timeout occurred during testing while running C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe. Please consider re-running the test and avoid interacting with the application while tests are running.
I've submitted a separate thread on this.