Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install ASP.NET MVC4 RC on a server (2008 and above )

Title just about sums it up. I'd like to be able to deploy my application to one of our servers, is there anything spacial that needs to take place, the reason I ask is that a fresh deploy with the deployment tool says I have conflicting dlls, which I was sure to have referenced correctly from the upgrade guide.

Thank you, Stephen

like image 867
Stephen Patten Avatar asked Jun 07 '12 22:06

Stephen Patten


3 Answers

It's simple:

  1. go to http://www.asp.net/mvc/mvc4

  2. click the green "Install ASP.NET MVC 4 RC" button to download and run the installer.

Alternatively, you could just install it on your dev machine, then in VS right click on your project and choose "Add Deployable Dependencies..." to automatically include the necessary assemblies in your project for deployment (this will bin deploy MVC).

Another option is to just manually copy the MVC assemblies to the server GAC (copy all the assemblies that are added when using "Add Deployable Dependencies..."), which is what the installer does.

like image 99
Kyle Trauberman Avatar answered Oct 12 '22 07:10

Kyle Trauberman


This page hosts the standalone installer for MVC 4: http://www.microsoft.com/en-ca/download/confirmation.aspx?id=30683

Despite what the page says, Visual Studio is not required to install on a sever.

like image 2
Jake Braun Avatar answered Oct 12 '22 06:10

Jake Braun


The "Add Deployable Dependencies..." does no longer exist since VS now always includes the dependend binaries...

Source

like image 1
Niels Gjeding Olsen Avatar answered Oct 12 '22 07:10

Niels Gjeding Olsen