Error Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

后端 未结 13 2369
我寻月下人不归
我寻月下人不归 2020-12-02 08:32

I have a small web application. Which was working fine until I added two genericHandler in my application.

I have made the following changes for the http handl

13条回答
  •  长情又很酷
    2020-12-02 09:00

    I have a files only website. Added MVC 5 to webforms application (targeting net45). I had to modify the packages.config

    package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45"
    

    to

    package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45" developmentDependency="true"
    

    in order for it to startup on local box in debug mode (previously had the top described error). Running VS 2017 on Windows 7...opened through File > Open > Web Site > File (chose root directory outside of IIS).

提交回复
热议问题