Hello my suggestion is instead of using the classical MVC approach for the project structure, move to the "razorpages-like" structure, I think it makes thinks cleaner.
I'm aware that by convention that this already can be done by using the PageName + ViewModel, however my concrete suggestion is that the template by default, creates the files in this manner example:
<ItemGroup>
<Compile Update="Views\Attachmens\AttachPageViewModel.cs">
<DependentUpon>AttachPage.xaml</DependentUpon>
</Compile>
</ItemGroup>
to have something like this:

and a much cleaner project structure instead of having to mantain two big folder trees.
What do you think?
Actually, in large WPF production app this is exactly how I do it. However, having the templates use the distinct folder really helps with the learning curve and helps to discover the patterns being used. I am considering adding an "Options" item in the VS Options dialog to control how these are created, but that is a very low priority.
Ok got you. Do you simply do it by editing the csproj or do you have a shorthand way of doing it?
I use a VS extension to do it. Right click and done.
I use my view models on multiple pages.
@brianlagunas which VS extension?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
I use a VS extension to do it. Right click and done.