Skip to content

Commit b6b95af

Browse files
committed
Fix according to public doc
1 parent c058dd8 commit b6b95af

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Samples/WindowsAIFoundry/cs-wpf-sparse/WindowsAISampleForWPF/AppxManifest.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
88
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
99
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
10-
IgnorableNamespaces="uap uap2 uap3 rescap desktop uap10">
10+
xmlns:systemai="http://schemas.microsoft.com/appx/manifest/systemai/windows10"
11+
IgnorableNamespaces="uap uap2 uap3 rescap desktop uap10 systemai">
1112
<Identity
1213
Name="WindowsAISampleForWPFSparse"
1314
Publisher="CN=Fabrikam Corporation, O=Fabrikam Corporation, L=Redmond, S=Washington, C=US"
@@ -24,14 +25,15 @@
2425
<Resource Language="en-us" />
2526
</Resources>
2627
<Dependencies>
27-
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.19000.0" MaxVersionTested="10.0.19000.0" />
28+
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.19000.0" MaxVersionTested="10.0.26226.0" />
2829
<PackageDependency
2930
Name="Microsoft.WindowsAppRuntime.1.8-experimental2"
3031
Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
3132
MinVersion="8000.500.1427.0" />
3233
</Dependencies>
3334
<Capabilities>
3435
<rescap:Capability Name="runFullTrust" />
36+
<systemai:Capability Name="systemAIModels"/>
3537
<rescap:Capability Name="unvirtualizedResources"/>
3638
</Capabilities>
3739
<Applications>

Samples/WindowsAIFoundry/cs-wpf-sparse/WindowsAISampleForWPF/WindowsAISampleForWPFSparse.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
<ImplicitUsings>enable</ImplicitUsings>
88
<UseWPF>true</UseWPF>
99
<Platforms>x64;ARM64</Platforms>
10+
<AppxOSMinVersionReplaceManifestVersion>false</AppxOSMinVersionReplaceManifestVersion>
11+
<AppxOSMaxVersionTestedReplaceManifestVersion>false</AppxOSMaxVersionTestedReplaceManifestVersion>
1012
</PropertyGroup>
1113

1214
<ItemGroup>

0 commit comments

Comments
 (0)