如何运行:在/调试多个Web应用程序项目相同的解决方案?

问题描述:

我有2个Web应用程序项目。一个是我的asp.net MVC应用程序,另一个是为管理相关的功能是asp.net web表单动态数据。我的MVC应用程序将是主要的网站,但我想在web表单的MVC站点的管理员文件夹下工作。

I have 2 web application projects. One is my asp.net MVC app and the other is for the admin related functions which is asp.net web forms Dynamic Data. My MVC app would be the main site, but I would want the webforms to work under an Admin folder of the MVC site.

在调试应用程序,我想在MVC网站上的/admin/Default.aspx链接到我的动态数据网站中链接的默认页面。我如何做到这一点?我知道我能够独立测试每个项目。

While debugging the application, I would like the "/admin/Default.aspx" link on the MVC site to link to the default page within my Dynamic Data site. How do I accomplish this? I know I can test each project independently.

在Visual Studio项目,你可以右键点击文件夹,选择转换为Web应用程序,它解决了我的问题。

Within the visual studio project, you can right click on a folder and select "Convert to Web Application" which resolved my issue.