From 4dc8c153ec40c48f88e74beb127949395dfbcf55 Mon Sep 17 00:00:00 2001 From: Vedran Vujinovic Date: Wed, 25 Sep 2019 20:57:47 +0200 Subject: [PATCH] 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. --- Tests/VSWinStorePhone/VerifyAppPackage.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/VSWinStorePhone/VerifyAppPackage.cmake b/Tests/VSWinStorePhone/VerifyAppPackage.cmake index f1cf03038b..f9440d75e7 100644 --- a/Tests/VSWinStorePhone/VerifyAppPackage.cmake +++ b/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)