I’m deploying an asp.net mvc 2 app on windows 2008 R2 and I get error that there is no system.web.mvc.dll, Should I install mvc2 on the deploy machine ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can actually deploy without MVC being installed on the server by deploying the MVC DLLs with your project. Put the following DLLs into your bin directory and it will run fine
If your server is on .Net 3.5 SP1 then you only need to deploy the Web.Mvc DLL, if its not running SP1 then you will need to deploy all 3.
There is an article by Phil Haack here detailing this more http://haacked.com/archive/2008/11/03/bin-deploy-aspnetmvc.aspx