Could not load file or assembly Microsoft.Web.Infrastructure

Error info:Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Solution:

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.

 

posted @ 2014-04-02 13:36  Vincent.Dr  阅读(908)  评论(0编辑  收藏  举报