D
D
dalvreg2022-01-27 17:31:16
WPF
dalvreg, 2022-01-27 17:31:16

Why can't you add a new window to WPF?

I'm learning WPF, trying to add a second window to my project.
I select "Add" -> "Window (WPF)", a window for adding a new element opens, but in this list there is simply no option for "Window (WPF)", like all other elements related to WPF. Perhaps you need to install some component? But what?

My list of available items

61f2976a47dce954592618.png
61f2977710358916838086.png

And this is how the list should look like
20.2.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dalvreg, 2022-01-27
@dalvreg

The issue was resolved by reinstalling Visual Studio and installing the .NET desktop development bundle in the Visual Studio Installer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question