Before starting with the WPF application development, make sure that you have installed the .NET desktop development workflow on your system. Run your Visual Studio 2019 installer and confirm that the .NET desktop development workflow is already checked. If not, check it and proceed toward the installation of the required components.
The following screenshot illustrates how to check the .NET desktop development box:
We hope you have already configured your Visual Studio installation to build desktop applications using WPF. Let's start building our first WPF application using XAML and C#.