Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VisualStudio 2012 adding file as child of another file

Is it possible to add File as a child of another file in Visual Studio except manually editing project file? I already have MyView.xaml.cs file as a child of MyView.xaml but would like to have MyviewModel.cs as well as a child of MyView.xaml.

MyView.xaml
 |_MyView.xaml.cs
 | 
 |_MyviewModel.cs 
like image 636
user007 Avatar asked Aug 30 '13 15:08

user007


1 Answers

There are extensions for this that can be downloaded:

NestIn or VSCommands for Visual Studio 2010, Visual Studio 2012 and Visual Studio 2013:

like image 132
user007 Avatar answered Nov 15 '22 10:11

user007