I did a small application locally with the latest. NET 4.5 and ASP 5 frameworks. Local tests are packaged successfully.
Now to put it on the server, this app is only for intranet use. The server is not allowed to connect to the extranet. See Www.asp.net without MVC5 's standalone installation package, only 4 and before. are both installed online and http://www.nuget.org/packages/Microsoft.AspNet.Mvc/the way it is said here. All need to be connected to the network installation.
Search a lot of places do not provide offline installation package.
The default should be copy Local if you add references through NuGet when developing, and you can see if there are any System.Web.Mvc.dll files under the post-compilation bin. Microsoft is recommending the use of NuGet to add references, the installation package is mainly for the development environment to install tools. If you do not have copy local, you can set the referenced property to make it compile with Copy Local.
Locate the following files on the machine where ASP. NET MVC is installed (the 32 system is C:\Program Files\Microsoft ASP. NET directory), copy them to the bin directory of the deployment machine and it's OK!
System.Web.Helpers.dll
System.Web.Razor.dll
System.Web.WebPages.dll
System.Web.WebPages.Razor.dll
System.Web.WebPages.Deployment.dll
Microsoft.Web.Infrastructure.dll
All you need to do is add the ASP. NET MVC assembly to your project with NuGet, and when you publish to the server, the server doesn't have any connection to the network, so you don't even have the Internet bar in your development machine? And the assembly only needs to be installed once, it's okay to never be connected to the net
Ref
http://bbs.csdn.net/topics/390941754/
ASP. NET MVC 5 in no extranet WIN2008R2 Server deployment method