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

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

    when you use enable the use for IISexpress, the applicationHost.Config (located in %userprofile%\iisexpress\config), you have to check the option "Apply Server settings to all users (store in project file)" to avoid your settings written in yourProject.csproj.user project settings

    doing this is the same as editing your project.csproj file and writing True True 62242 / http://localhost:8100/Claims/ True http://localhost:8100/Claims/ False False False If you enable IISExpress and your applicationHost.config file doesn't contain the entry related to your project settings, you just have to push the button "Create Virtual Directory" and done!

    hope this helps

提交回复
热议问题