Mike Marks
Mike Marks

Reputation: 10139

Controllers in a separate project, but when I try to add a view via "right click", it creates a new Views folder within my Controllers project..?

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

Upvotes: 0

Views: 128

Answers (1)

Chris Patterson
Chris Patterson

Reputation: 33268

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.

Upvotes: 1

Related Questions