Reputation: 395
I have an asp.net mvc 3 project I created in visual studio 2012. I would like to run the dev server from the command line rather than the IDE (usually clicking on the green play/triangle button).
My goal is to run the local web server without having to open visual studio. Any ideas?
Upvotes: 1
Views: 840
Reputation: 71
Start your project from Visual Studio. Open Sysinternals Process Explorer and navigate to your iisexpress instance. In properties - Image Tab - Command Line you get a hint of how you can call it.
"C:\Program Files (x86)\IIS Express\iisexpress.exe" /config:"C:\Users\YourProfile\Documents\IISExpress\config\applicationhost.config" /site:"MvcApplication1(1)" /apppool:"Clr4IntegratedAppPool"
applicationhost.config will have your site in the history.
Upvotes: 1