Search code examples
asp.netiisvisual-studio-2012iis-expressvisual-studio-2013

Upgrade VS2012 project to VS2013 web site and it won't let me specify IIS port


I've recently installed VS 2013 and upgraded my web sites from 2012 to 2013 and now I can't run the sites locally because I have them defined as IIS sites but Visual Studio won't allow me to not use IIS Express. So it runs the sln on a port that won't work for me.

What I've tried:

  • setting IE as my default browser and changing the sln file itself
  • The option to specify an external host or base URL is grayed out when going to Start Options in the Property Pages.

Any suggestions?

Thanks Robert


Solution

  • From this MSDN article about ASP.NET projects and VS2013:

    You can use IIS with web application projects, but not with web site projects

    So it sounds like you need to either convert the project to a web application or just use IIS Express.