简体   繁体   中英

Does the visual studio 2008 Web Server supports multiple projects?

I have an mvc site with two projects. One is the site itself and then a second project contains controls which are content only. The reason for this is that the control project is for elements that live in a cms. When I am running it locally in dev studio, I would like to be able to load these controls without setting up iis.

Is there anyway that the visual studio web server can recognize this second project as a different virtual directory so I can use functions like MapPath("~/cms/file.ascx") to load these elements?

Not in a supported fashion. Can I create an ASP.NET MVC 2 project with multiple areas without referencing each Child in the parent area?

MVC Preview 2 has support but it has been pulled from the final version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM