MVC3 Deployment Dependency Problems

后端 未结 4 753
不知归路
不知归路 2020-12-05 17:27

I\'ve just tried deploying an MVC3 application to our IIS7 hosting environment but I\'m being presented wtih the following exception:

Could not load t

4条回答
  •  余生分开走
    2020-12-05 18:27

    This is because Microsoft.Web.Infrastructure is not in your GAC. You need to add this reference to your project. Right click the reference and go to properties then set copy to local to true.

    Copy Local

    Output (Ignore the Ninject and NCU):

    alt text

提交回复
热议问题