Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio solution with multiple ASP.NET web applications

Tags:

I've got a Visual Studio 2010 solution that has multiple web applications in it. I've set one as the startup project but when I debug Visual Studio is starting up a development server for each web application in my solution. Is there anyway I can have Visual Studio only start up the development server for just the default startup project?

like image 659
Frank Hale Avatar asked Mar 03 '11 20:03

Frank Hale


People also ask

Can a Visual Studio project have multiple solutions?

You can have multiple projects in one instance of Visual Studio. The point of a VS solution is to bring together all the projects you want to work with in one place, so you can't have multiple solutions in one instance. You'd have to open each solution separately.

How do I run multiple solutions in Visual Studio?

Visual Studio allows you to specify how more than one project is run when you press F5 (Start with Debugging), or Ctrl+F5 (Start without debugging), or use the toolbar button to launch your application.

How do I add multiple projects to a solution in Visual Studio?

To add existing projects to the solution: Right click the Solution node in Solution Explorer select Add -> Multiple Projects.

Can I open two projects in Visual Studio?

Open a second instance of Visual Studio for Mac To open a second instance of the integrated development environment (IDE), right-click on the Visual Studio icon in your dock or Applications folder, and select New Instance.


1 Answers

At the website (or project) level, set "Always Start when Debugging" = false (the default, as shown in my screenshot, is true.)

Always Start when Debugging

like image 50
David Avatar answered Sep 27 '22 18:09

David