vklachkov / windows-virtualdesktopindicator

Virtual desktop indicator for system tray
MIT License
102 stars 13 forks source link

Marshalling as IInspectable is not supported in the .NET runtime #24

Open Taster-git opened 1 year ago

Taster-git commented 1 year ago

Hi When checking IsPinnedApp of any app like notepad, word, excel etc then on the line GetAppUserModelId exception thrown: Marshalling as IInspectable is not supported in the .NET runtime

If I remove this line [InterfaceType(ComInterfaceType.InterfaceIsIInspectable)] at IApplicationView then Error received The method or operation is not implemented.

Checked on Windows Build: 19045, 22000, 22621 .Net 6.0