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

I recently installed VS.NET 2012 and moved my ASP.NET MVC 4 project over. However, on building the solution I get hundreds of errors with :

The type or namespace 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference)

AFAIK ASP.NET MVC 4 is built into VS 2012 and there is nothing that needs to be installed. Any ideas how to get rid of these errors and build the application?

Answers


You need to include the reference to the assembly System.Web.Mvc in you project.


Need Your Help

When I retrieve image from sql server 2008 r2 the image is black

c# .net sql-server image-processing sql-server-2008-r2

I have write a program that on it i upload and download image to/from database SQL Server 2008 R2 .

Ubuntu phpstorm : Interpreter is not specified or valid

php ubuntu phpstorm xdebug jetbrains

I am configuring debugger on phpstorm on Ubuntu. I easily could set interpreter's path like C:xampp/php properly on Windows. But linux should have different path for interpreter.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.