This repo shows a WinRT component written in C# NET 5, exported through cswinrt and consumed into a C++/WinRT WinUI desktop app.
Currently building this repo relies on working around some cswinrt bugs, see https://github.com/microsoft/CsWinRT/issues/created_by/asklar