Fix all WindowsAIFoundry according to public doc - #539
Merged
Gordon Lam (yeelam-gordon) merged 6 commits intoNov 12, 2025
Merged
Fix all WindowsAIFoundry according to public doc#539Gordon Lam (yeelam-gordon) merged 6 commits into
Gordon Lam (yeelam-gordon) merged 6 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request updates the Windows AI Foundry WPF sample to enable system AI model capabilities by adding the required manifest changes and project configuration updates as specified in the Windows AI documentation.
- Added
systemainamespace andsystemAIModelscapability to the app manifest - Updated
MaxVersionTestedto10.0.26226.0for Windows Insider build compatibility - Configured project to prevent automatic OS version replacement in manifest
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| WindowsAISampleForWPFSparse.csproj | Added properties to disable automatic manifest OS version replacement |
| AppxManifest.xml | Added systemai namespace, systemAIModels capability, and updated MaxVersionTested version |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Copilot started reviewing on behalf of
Gordon Lam (yeelam-gordon)
November 11, 2025 10:03
View session
Contributor
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 19 out of 19 changed files in this pull request and generated 13 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Gordon Lam (yeelam-gordon)
force-pushed
the
user/yeelam/FixSparseWPFSample
branch
from
November 11, 2025 13:16
b476ed0 to
e978dd0
Compare
Boliang Zhang (LegendaryBlair)
approved these changes
Nov 12, 2025
Gordon Lam (yeelam-gordon)
merged commit Nov 12, 2025
08b6f95
into
release/experimental
4 checks passed
Gordon Lam (yeelam-gordon)
deleted the
user/yeelam/FixSparseWPFSample
branch
November 12, 2025 10:40
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
According to https://learn.microsoft.com/en-us/windows/ai/apis/get-started?tabs=winget%2Cwinui%2Cwinui2, there are multiple changes before the AI API can be used.
This pull request updates the Windows AI Foundry samples to support new system AI model capabilities and aligns the app manifest with the latest Windows versions. The most important changes are grouped below:
Manifest and capability updates:
systemAIModelscapability to all relevantAppxManifest.xmlandPackage.appxmanifestfiles, enabling access to system AI models in sample applications. [1] [2] [3] [4] [5] [6] [7] [8]TargetDeviceFamilyMaxVersionTestedto10.0.26226.0in all manifests for improved compatibility with the latest Windows releases. [1] [2] [3] [4]WinForms sample code refactor (both packaged and sparse):
LanguageModeland text summarization withImageDescriptionGeneratorand image description functionality, including changes to model loading, error handling, and UI text. [1] [2] [3] [4] [5] [6]Project and build improvements:
global.jsonspecifying .NET SDK version 8.0.100 and MSBuild SDKs for Maui sample to ensure build consistency.Thank you for your pull request!
Please see https://github.com/microsoft/WindowsAppSDK-Samples/blob/main/docs/samples-guidelines.md for guidelines on
how to best contribute to the Windows App SDK Samples repository!
-->
Target Release
1.8 and 2.0