microsoft / Windows.UI.Composition-Win32-Samples

Windows.UI.Composition Win32 Samples
MIT License
469 stars 186 forks source link

Update samples to net5 #77

Open j0shuams opened 3 years ago

j0shuams commented 3 years ago

The WPF sample apps came up in discussion for a C#/WinRT issue. We thought it would be good to get these samples ported to net5, and @robmikh said he would be glad to port them when he gets time.

The interop documentation at C#/WinRT may be helpful, for information on how certain things have changed (like QI becoming an As<> cast).

trympet commented 3 years ago

I tried converting winui.uwp with cswinrt, but got stuck at an explicit interface definition, ICommand.CanExecuteChanged, which does not exist in C#.

Maybe the samples could have a winui 3 version as well?

aqibbanday commented 3 years ago

@trympet Hi, any update on this?