I’ve gotten the error message “Could not load file or assembly ‘Microsoft.Web.Infrastructure, Version=…’ a few times lately when deploying new ASP.NET MVC5 projects to an IIS7.5 or IIS8 web server via the Web Deploy method within Visual Studio 2013, so I thought I’d put up this quick article on how to resolve it.

This error occurs for me when publishing a new MVC5 project to a web server (it does not occur when previewing the project locally from my machine).  Initially, after deploying, I’m greeted with the very vague error message:


Continue reading