I have an ASP.NET project which uses IIS. IIS site is configured to use custom binding host name. Project file contains following settings:
...
This is enough
Comment this line in project file x.csproj
x.csproj : error : The URL 'http://localhost/x' for Web project 'x' is configured to use IIS Express as the web server but the URL is currently configured on the local IIS web server. To open this project, you must use IIS Manager to remove the bindings using this URL from the local IIS web server.