Unable to load Web Application project due to its configuration

前端 未结 5 1874
自闭症患者
自闭症患者 2021-02-03 23:20

I\'ve a problem with loading Web Application project in VS2013. This project depends on IIS Express, but I wouldn\'t install IIS Express because I already installed IIS.

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-03 23:50

    Happened to me too. My workaround:

    1. Right-click the (failed-to-load) project => edit web.csproj
    2. Find the line true, and change it to false.
    3. Save, close, reload project.

    Result - different error:

    The Web Application Project web is configured to use IIS. To access local IIS Web sites, you must run Visual Studio in the context of an administrator account. In addition, you must install the following IIS components:

    ASP.NET

    So:

    1. Edit again, change True to false
    2. Save, close, reload project.

    Result - Great Success!

提交回复
热议问题