Base solution for your next web application
Open Closed

Is there a way to start all three projects by pressing the play button in visual studio? #6322


User avatar
0
vnetonline created

i am wonderjngbis there is a way to strat the HOST, PIBLIC SITE and the corr project all by pressing the play button in VS 2017?

i dont want to each and every time open cmd prompt and run the "Start npm" command?


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @vnetonline

    Yes, right click the solution on Visual Studio and click "Properties". Then, you can select "Multiple Startup Projects" and the projects you want to run.

  • User Avatar
    0
    alper created
    Support Team

    I use 2 batch files to start Angular and Host. https://drive.google.com/open?id=1ZXm0AYh8OPx_smcXugyY3hgTS464DuUU

    PS: Edit the batch files for your project directory.

  • User Avatar
    0
    vnetonline created

    How do you execute these batch files when you hit the play button and how do you go about debugging the project ?

  • User Avatar
    0
    alper created
    Support Team

    you have to run it manually. while you develop your front-end, start host from batch and develop your front-end. while you develop your back-end, start angular from batch and develop your back-end.