Microsoft dropped the ball with Universal Windows Platform framework, I worked on one project using this framework and it was one the best. Our codebase run on both phone and desktop Windows 8. This was 2014-ish if I remember, and then Windows phone got killed.
Spot on, .NET Native and C++/CX on top of COM is what .NET 1.0 should have been all about.
Unfortunately it was a big ball of mud in mismanagement.
You would really like Uno Platform. It is the same API.
I still have my Nokia Lumia around. Best phone I ever had.
And I say this hating everything about Microsoft and Windows. That phone clicked just right with the tile design and overall usability. Of course, MS having pulled the plug, it's basically a DRM brick now.