I have a solution with a number of projects in it. Even if I set the web project's start options to:
- Don't open a page. Wait for a request from an external application.
- Use custom webserver. Base URL:
http://localhost
.
And the startup project to:
- Single startup project
- Select the console application (not website)
When I press start debugging, IIS express launches (shows up on the taskbar). How do I prevent from IIS Express from launching? I am only running a console application, and don't want IIS Express running.
In fact, all of the websites in the solution launch in IIS, and they consume resources on my machine unnecessarily.
In the Property Pages-> Start Options: Set Start Action = "Don't open a page..."; Set Server -> Use custom server and leave Base URL blank.
There's easy way to do this: in web project's properties F4 (NOT right click-> properties) set "always start when debugging" to false
For Visual Studio 2013, I configured it like this:
Start Action: Don't open a page.
Servers: External Host
Project Url: http://NotAStartupApp/
I uninstalled IIS Express in windows and it worked for me. After publishing my files from VS, automatically my settings changed to point to IIS Express and it wont change to IIS, no matter what, for my Website project. Hope this works for someone.