Skip to content

Commit f0a64ef

Browse files
committed
Replace EntryPoint with RuntimeBehavior in sparse manifest
1 parent ab34f2a commit f0a64ef

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

Samples/MultiHeadedPackage/cs/cs-wpf-sparse/PrimaryApp/Package.appxmanifest

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
<Package
44
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
55
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
6+
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
67
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
7-
IgnorableNamespaces="uap rescap">
8+
IgnorableNamespaces="uap uap10 rescap">
89

910
<Identity
1011
Name="MultiHeadedSparseSample"
@@ -26,10 +27,11 @@
2627
</Resources>
2728

2829
<Applications>
29-
<!-- Primary: tokens replaced by build system -->
30+
<!-- Primary: executable token replaced by build system -->
3031
<Application Id="App"
3132
Executable="$targetnametoken$.exe"
32-
EntryPoint="$targetentrypoint$">
33+
uap10:TrustLevel="mediumIL"
34+
uap10:RuntimeBehavior="win32App">
3335
<uap:VisualElements
3436
DisplayName="Primary Sparse App"
3537
Description="Primary application in multi-headed sparse package"
@@ -40,10 +42,11 @@
4042
</uap:VisualElements>
4143
</Application>
4244

43-
<!-- Secondary: hardcoded exe name, no tokens -->
45+
<!-- Secondary: hardcoded exe name -->
4446
<Application Id="SecondaryApp"
4547
Executable="SecondaryApp.exe"
46-
EntryPoint="Windows.FullTrustApplication">
48+
uap10:TrustLevel="mediumIL"
49+
uap10:RuntimeBehavior="win32App">
4750
<uap:VisualElements
4851
DisplayName="Secondary Sparse App"
4952
Description="Secondary application in multi-headed sparse package"

0 commit comments

Comments
 (0)