Click here to Skip to main content
15,566,691 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I only have a way to create xml and .cs files. There is no option under new items to create this file CalculatoreView.xaml

What I have tried:

The process I have always used to add files to projects, new item
Updated 22-May-21 23:50pm
The Other John Ingram 22-May-21 9:29am    
Add Window(WPF) or Add Page(WPF)

1 solution

Your project type does not sound WPF enabled/supported.

Not just when you add a new item, you need to select the right project while creating it.
Here, following should help: Create a new app with Visual Studio tutorial - WPF .NET | Microsoft Docs[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900