I am trying to deploy an MVC 3 RC2 application using Visual Studio 2010 Publish feature. I setup the Publish Profile to install the site to the root. In the Hosting Control Panel IIS Tools, the ASP.Net version is 4.0, Application Pool Pipeline is Integrated. I ftp'ed into the site and confirmed that the bin folder has the following: System.Web.Abstractions.dll System.Web.ApplicationServices.dll System.Web.dll System.Web.DynamicData.dll System.Web.Entity.dll System.Web.Extensions.dll System.Web.Helpers.dll System.Web.Helpers.xml System.Web.Mobile.dll System.Web.Mvc.dll System.Web.Mvc.xml System.Web.Razor.dll System.Web.Razor.xml System.Web.Routing.dll System.Web.Services.dll System.Web.WebPages.dll System.Web.WebPages.Razor.dll System.Web.WebPages.Razor.xml System.Web.WebPages.xml When I try to load my webpage, I get a "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" error message.
Solution The solution ended up being to make sure the following files got uploaded to the bin folder: Microsoft.Web.Infrastructure.dll Microsoft.Web.Infrastructure.xml System.Web.Helpers.xml System.Web.Mvc.dll System.Web.Mvc.xml System.Web.Razor.dll System.Web.Razor.xml System.Web.WebPages.dll System.Web.WebPages.Razor.dll System.Web.WebPages.Razor.xml System.Web.WebPages.xml
MVC 3 Release binary files list MCV 3 was released on 1/13/2011 and I have installed updated my site to those files. Here is my list: Microsoft.Web.Infrastructure.dll System.Web.Helpers.dll System.Web.Mvc.dll System.Web.Razor.dll System.Web.WebPages.Deployment.dll System.Web.WebPages.dll System.Web.WebPages.Razor.dll WebMatrix.Data.dll These file all have the date 1/5/2010 3:45pm. I did not install any of the .xml extension file only the .dll file. I'd like to hear from anyone what good the .xml file do, cuz I have not seen any down side to not having them. In my mind I just figure, less is more. Thanks, Irv