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
It turns out after doing a Reference Cleaning, it removed Microsoft.Web.Infrastructure, but not from the packages.config file. After trying to add it again using the Package Manager Console, Visual Studio says that it is already installed which is false because it was removed.
I then removed the line of code in the packages.config file
and ran the command again
PM> Install-Package Microsoft.Web.Infrastructure
After this, now it works fine.