VS 2012 can't load project which uses IIS with custom binding host - thinks it's using IIS Express

前端 未结 12 950
清酒与你
清酒与你 2020-12-07 21:35

I have an ASP.NET project which uses IIS. IIS site is configured to use custom binding host name. Project file contains following settings:

...


        
12条回答
  •  半阙折子戏
    2020-12-07 22:23

    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.

提交回复
热议问题