When you run the application in Visual Studio 2010 with the .NET Framework 4 and MVC 3 installed, the following folders are automatically created on your computer:
C: \ Program Files \ Microsoft ASP.NET \ ASP.NET MVC 3
C: \ Program Files (x86) \ Microsoft ASP.NET \ ASP.NET Web Pages.
These folders also contain the Assemblies folder.
ASP.NET MVC links after additional builds:
System.Web.Mvc Microsoft.Web.Infrastructure System.Web.Razor System.Web.WebPages System.Web.WebPages.Razor
To deploy your application on a shared server without support from your hosting company, you can simply copy these DLL files and paste them into your BIN folder.
Make local DLLs when publishing:
If you do not want to copy these files manually or do not have permission to copy and paste these files, you can use this method.
The DLL files mentioned in the manual method can be included in the Bin folder when publishing your project to production.
To include them in the Bin folder, go to the MVC application project and expand the βLinks node in the project tree. Select the assembly above, then right-click and selectβ Properties and change ββ Local copy βtoβ True β, since by default this is If the Local Copy attribute is set to TRUE, then the selected DLL will be included in the βBinβ folder when publishing your project.
Arun
source share