问题描述:

I've got my Controllers in its own project, my Models in their own projects, and the Main App in ITS own project, which contains the Views folder.

So when I open up my controller cs file and right click on, say for example, the Details action and choose "Add View", it creates a Views folder within my Controllers project, and adds the view there. I want it to add the view into the Views folder in my Main App project. How in the world do I do this????? Thanks so much in advance for anyone's help and advice!!

Mike

网友答案:

Right click in your project that has the views to add the view. Views don't care which controller calls them, so there is no reason to click in your controllers project.

相关阅读:
Top