How to create a WPF project without using Visual Studio?
write in terminal "dotnet new" and check the list. Class library is at "dotnet new classlib", but I'm interested in how to create WPF applications too, because there isn't that comand in the list.
VS Code is designed more to host Console based apps such as .Net Core, .Net Framework Console, and Node.js. If you would like to develop WPF apps look for a different solution. I highly recommend using Visual Studio by Microsoft.