Skip to content

CmdPal: Adaptive Cards can’t be created at runtime #42497

@jiripolasek

Description

@jiripolasek

Microsoft PowerToys version

0.95.0

Installation method

GitHub

Area(s) with issue?

Command Palette

Steps to reproduce

Performed a clean installation of Windows 10 22H2 and Windows 11 24H2 in Hyper-V virtual machines. Installed PowerToys version 0.95.0 only. Opening a form with adaptive cards results in a crash-to-desktop. Debugging reveals a WinRT originate error 0x80040111 (CLASS_E_CLASSNOTAVAILABLE) for AdaptiveCards.ObjectModel.WinUI3.AdaptiveCard and AdaptiveCards.Rendering.WinUI3.AdaptiveCardRenderer.

Exception thrown at 0x00007FFFAF125369 (KernelBase.dll) in Microsoft.CmdPal.UI.exe: WinRT originate error - 0x80040111 : 'AdaptiveCards.ObjectModel.WinUI3.AdaptiveCard'.
Exception thrown at 0x00007FFFAF125369 (KernelBase.dll) in Microsoft.CmdPal.UI.exe: WinRT originate error - 0x80040111 : 'AdaptiveCards.Rendering.WinUI3.AdaptiveCardRenderer'

Local build of main in Release configuration with AOT enabled is fine.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Additional Information

No response

Other Software

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions