Browse Source

Tests: Teach VSWinStorePhone to verify the content of generated xap

XAP format was used as app package format on Windows Phone 7 and 8.
It was replaced by APPX format since Windows Phone 8.1.
Vedran Vujinovic 6 years ago
parent
commit
4dc8c153ec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Tests/VSWinStorePhone/VerifyAppPackage.cmake

+ 2 - 2
Tests/VSWinStorePhone/VerifyAppPackage.cmake

@@ -8,8 +8,8 @@ set(EXPECTED_APP_PKG_CONTENT
   JusticeLeagueWinRT.dll
 )
 
-# Windows app package formats can be either appx or msix
-file(GLOB_RECURSE ALL_APP_PKG_FILES ${APP_PACKAGE_DIR}/AppPackages ${APP_PKG_NAME}*.appx ${APP_PKG_NAME}*.msix)
+# Windows app package formats can be either msix, appx or xap
+file(GLOB_RECURSE ALL_APP_PKG_FILES ${APP_PACKAGE_DIR} ${APP_PKG_NAME}*.msix ${APP_PKG_NAME}*.appx ${APP_PKG_NAME}*.xap)
 
 # There can be only one generated app package
 list(LENGTH ALL_APP_PKG_FILES APP_PKG_COUNT)