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

前端 未结 12 964
清酒与你
清酒与你 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:10

    This problem was ruining my day in VS 2013 today. I tried all of the above, but didn't get the project to load until I created a Web site in IIS and filled in this section in the .csproj file (especially the IISUrl element):

    
        
          
            
              True
              True
              81
              /
              http://localhost/SomeProject
              False
              False
              
              
              False
            
          
        

提交回复
热议问题