- Create 3 projects
- Windows Application Packaging Project
- Windows Desktop Project (or barebone C++ project)
- Windows Runtime Component
- Add
BlankUserControl.xaml
to the Windows Runtime Component project. - Add a reference to the Windows Runtime Component project in the Windows Desktop project.
- Add a reference to the Windows Desktop project in the Packaging project
- Add
CppWinRT
andMicrosoft.UI.Xaml 2.8.5 public release
to both Windows Runtime Component project and Windows Desktop project - Add a
app.manifest
to the Windows Desktop project - Add a
App.xaml
to the Windows Runtime Component project