美文网首页
基于ABP框架的项目找不到system.web.http怎么办?

基于ABP框架的项目找不到system.web.http怎么办?

作者: yingcheng | 来源:发表于2019-05-07 17:03 被阅读0次

ABP框架中Application项目引用了mvc4中system.web.http,当我们电脑没有安装mvc4时编译会出错,有两种较好的方法可以解决:
1、安装MVC4

2、在Application项目安装Nuget包“LessJie.System.Web.Http”

此问题只会在开发机上出现,因为服务器上使用的是编译之后的WEB项目,里面已经生成了该dll

相关文章

网友评论

      本文标题:基于ABP框架的项目找不到system.web.http怎么办?

      本文链接:https://www.haomeiwen.com/subject/sxkxsqtx.html