Skip to content

Conversation

yeelam-gordon
Copy link
Contributor

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 WPF sample 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:

  • Added the systemai namespace and set it as ignorable in AppxManifest.xml, enabling the use of new system AI capabilities.
  • Added the systemAIModels capability under the new systemai namespace, allowing the app to access system-provided AI models.

Platform and Compatibility Updates:

  • Increased the MaxVersionTested for the Windows.Desktop target device family to 10.0.26226.0 in AppxManifest.xml, ensuring compatibility with the latest Windows Insider builds.
  • Updated the project file (WindowsAISampleForWPFSparse.csproj) to prevent automatic replacement of manifest OS min/max versions, giving developers more control over versioning.

Target Release

1.8

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 systemai namespace and systemAIModels capability to the app manifest
  • Updated MaxVersionTested to 10.0.26226.0 for 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant