Is C++/WinRT relevant for Windows App SDK development?

Aaron 51 Reputation points
2022-10-28T22:21:35.057+00:00

Most of the C++/WinRT documentation I see is in the context of creating UWP apps. Now that Windows App SDK has replaced UWP as the most recent, recommended platform for creating Windows apps, what is the status of C++/WinRT? The Windows App SDK documentation mentions C# and .NET, and C++ and Win32 development but nothing about C++/WinRT. If creating an app using Windows App SDK, is C++/WinRT still relevant?

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
801 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,787 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 86,311 Reputation points
    2022-10-29T06:46:41.22+00:00

    When you create a WinUI3 project with the C++ template, the generated code is in C++/WinRT :

    255303-winui3-cpp.jpg

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.