imperialx
imperialx

Reputation: 143

Run another MVC project on same solution

I have two MVC projects in one solution,

-Project1.Client (startup)

-Project2.Admin

On the Project2.Admin, I created a new controller ("Clients") but accessing returns 404 error page like (http://localhost:port/admin/clients).

How to invoke the other Admin project while the Project1.Client is the startup?

I don't know if I have to go with Areas for the Project2.Admin because I wanted to use the same configuration found at Project1.Client web.config.

Upvotes: 0

Views: 1303

Answers (1)

brenton
brenton

Reputation: 558

You have to run the admin project. Right click the admin project, go to Debug, click Start New Instance (assuming you're in Visual Studio).

Upvotes: 1

Related Questions