'How to enable XAML designer in Visual Studio?

Just started learning how to build UWP apps with c++ and ran into a problem right away. When enabling the built-in XAML constructor in VS, I encounter an error that pops up in place of the constructor:

Some assembly references are missing. To resolve this issue, try a build to rebuild the NuGet cache.

Tried fiddling with NuGet as well as Microsoft.NETCore.UniversalWindowsPlatform, rebuilding the project and reinstalling VS Who knows how to solve this Working in VS 2022 17.1.3



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source