The type or namespace name does not exist in the namespace 'System.Web.Mvc'

The Solution to The type or namespace name does not exist in the namespace 'System.Web.Mvc' is


Clean your solution and then set the property of those files to Copy Local = True.

To set the Copy Local property to True or False

In Solution Explorer, click the Show All Files button to display the References node.

  • Open the References node for the project.
  • Right-click a reference in the References list, and click Properties. The properties associated with that reference appear in a list in the Properties window.
  • In the Properties window, change the Copy Local property to True or False.

~ Answered on 2012-10-31 00:31:50


Most Viewed Questions: