-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added test Singleton MSIX package (#1194)
* Added test Singleton MSIX package * Added WARsingleton test project * Added ARM64 support (oops :-)
- Loading branch information
1 parent
5f41f5f
commit 8611cc2
Showing
13 changed files
with
423 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+91.2 KB
...ynamicDependency/data/WindowsAppSDK.Test.Singleton.Msix/Assets/SplashScreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.4 KB
...cDependency/data/WindowsAppSDK.Test.Singleton.Msix/Assets/Square150x150Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.91 KB
...micDependency/data/WindowsAppSDK.Test.Singleton.Msix/Assets/Square44x44Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.8 KB
...micDependency/data/WindowsAppSDK.Test.Singleton.Msix/Assets/Wide310x150Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.33 KB
test/DynamicDependency/data/WindowsAppSDK.Test.Singleton.Msix/Assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions
65
test/DynamicDependency/data/WindowsAppSDK.Test.Singleton.Msix/Makefile.mak
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
#!include <WindowsAppSDK.Tools.MakeMsix.mak> | ||
|
||
MAKEAPPX_OPTS= | ||
!IFDEF VERBOSE | ||
MAKEAPPX_OPTS=/v | ||
!ENDIF | ||
|
||
SIGNTOOL_OPTS= | ||
!IFDEF VERBOSE | ||
SIGNTOOL_OPTS=/v | ||
!ENDIF | ||
|
||
!IFDEF VERBOSE | ||
!MESSAGE SolutionDir =$(SolutionDir) | ||
!MESSAGE ProjectDir =$(ProjectDir) | ||
!MESSAGE OutDir =$(OutDir) | ||
!MESSAGE TargetName =$(TargetName) | ||
!MESSAGE WindowsAppSdkBuildPipeline =$(WindowsAppSdkBuildPipeline) | ||
!ENDIF | ||
|
||
TARGET_BASENAME=DynamicDependency.DataStore | ||
|
||
TARGET_EXE=$(TARGET_BASENAME) | ||
TARGET_EXE_DIR=$(OutDir)$(TARGET_EXE) | ||
TARGET_EXE_FILE=$(TARGET_EXE_DIR)\$(TARGET_EXE).exe | ||
|
||
TARGET_PROXYSTUB=$(TARGET_BASENAME).ProxyStub | ||
TARGET_PROXYSTUB_DIR=$(OutDir)$(TARGET_PROXYSTUB) | ||
TARGET_PROXYSTUB_FILE=$(TARGET_PROXYSTUB_DIR)\$(TARGET_PROXYSTUB).dll | ||
!IFDEF VERBOSE | ||
!MESSAGE $(TARGET_PROXYSTUB_FILE) | ||
!ENDIF | ||
|
||
TargetDir=$(OutDir)$(TargetName) | ||
WorkDir=$(TargetDir)\msix | ||
OutMsix=$(TargetDir)\$(TargetName) | ||
|
||
!IFDEF VERBOSE | ||
!MESSAGE Workdir =$(WorkDir) | ||
!MESSAGE OutMsix =$(OutMsix) | ||
!ENDIF | ||
|
||
all: build | ||
|
||
$(OutMsix): $(ProjectDir)appxmanifest.xml | ||
@if not exist $(WorkDir) md $(WorkDir) | ||
@copy /Y $(ProjectDir)appxmanifest.xml $(WorkDir)\appxmanifest.xml | ||
@if not exist $(WorkDir)\Assets md $(WorkDir)\Assets >NUL | ||
@copy /Y $(ProjectDir)Assets\* $(WorkDir)\Assets\* >NUL | ||
REM @copy /Y $(TARGET_EXE_FILE) $(WorkDir) >NUL | ||
REM @copy /Y $(TARGET_PROXYSTUB_FILE) $(WorkDir) >NUL | ||
@makeappx.exe pack $(MAKEAPPX_OPTS) /o /h SHA256 /d $(WorkDir) /p $(OutMsix) | ||
@signtool.exe sign /a $(SIGNTOOL_OPTS) /fd SHA256 /f $(SolutionDir)temp\MSTest.pfx $(OutMsix) | ||
|
||
build: $(OutMsix) | ||
|
||
clean: | ||
@if exist $(WorkDir) rd $(WorkDir) /s /q | ||
@if exist $(OutMsix) del $(OutMsix) | ||
@if exist $(TARGET_BASENAME).*.msix del $(TARGET_BASENAME).*.msix | ||
|
||
rebuild: clean build |
Oops, something went wrong.