microsoft / microsoft/WindowsAppSDK
Version 1.7 Experimental (1.7.0-experimental3) Error with Class not registered
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
Describe the bug
i wnat to try Latest experimental channel release notes for the Windows App SDK - Windows apps | Microsoft Learn
but i create new WinUI3 project ,and use nuget install "Micrisift.windowsAppSDK "
but when i try [Get started with Phi Silica in the Windows App SDK (https://learn.microsoft.com/en-us/windows/ai/apis/phi-silica) ,
while error at "if (!LanguageModel.IsAvailable())"
My HW info :
Device name WOATARGET
Processor Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) CPU 3.42 GHz
Installed RAM 16.0 GB (15.4 GB usable)
Device ID 3BA38F3F-32C0-4DF7-876F-8BC8524BA6D9
Product ID 00330-80000-00000-AA505
System type 64-bit operating system, ARM-based processor
Pen and touch Touch support with 10 touch points
Steps to reproduce the bug
- creat new Blank App, Packaged (WinUI3 in Desktop)
- Nuget install Micrisift.windowsAppSDK version 1.7.250127003-experiment3
- use sample code at https://learn.microsoft.com/en-us/windows/ai/apis/text-recognition , https://learn.microsoft.com/en-us/windows/ai/apis/phi-silica or run this sample https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/WindowsCopilotRuntime
- always fail at 1.7.250127003-experiment3 SDK
example :
Expected behavior
Run successfully
Screenshots
OS version :
NuGet package version
Windows App SDK 1.7 Experimental 3: 1.7.250127003-experimental3
Packaging type
Packaged (MSIX)
Windows version
Insider Build (xxxxx)
IDE
Visual Studio 2022
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure in the WindowsCopilotRuntime sample and the linked Phi Silica and text-recognition samples using Windows App SDK 1.7.250127003-experimental3. Check the exact exception at LanguageModel.IsAvailable() and compare the packaged WinUI 3 setup, ARM-based hardware, and Insider Windows build. Done means the sample runs without the “Class not registered” error or the required compatibility limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- ai, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100