简体   繁体   中英

Run multiple web forms apps in same solution in visual studio

I have two web forms applications in one solution in Visual Studio 2012. At work, it creates both, but runs only the startup project in debug mode. I can also pull up the second application at the same time. However, in the same solution with the same copy of Visual Studio, my home computer only opens one of them at a time (Only the one you select as the startup project).

How can I get visual studio to run both?

Right-click your solution, and select Properties. On the left side, navigate to Common Properties -> Startup Project.

Now you can select "Multiple startup projects" and specify which projects will start (with or without debug) when you run the solution.

In the solution explorer, right-click on the solution, and choose "Set Startup Projects".

在此输入图像描述

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