Last post Feb 28, 2020 09:12 AM by darego
Feb 27, 2020 06:34 PM|darego|LINK
I have a solution which contains an MVC project, a MsTest project and a Console application. How do I run the console application without the launching IIS and the MVC web app? When I build and run the MVC web app starts when I want to run the Console app
on its own
Feb 27, 2020 07:11 PM|PatriceSc|LINK
See http://www.blackwasp.co.uk/VSStartupProjects.aspx that explains both how to change the startup project or to define multiple startup projects.
Edit: the console app is sending http requests to the web application? In this case I believe you should set both as startup projects but you can tell in the project properties for the web app, that it should wait for requests coming from an external app
rather than to launch a browser window.
Feb 28, 2020 06:38 AM|jiadongm|LINK
You can follow below steps to choose the specify project to run
Feb 28, 2020 09:12 AM|darego|LINK