I set out examples from the book. The first one is really simple .. a few lines of code in a view (MVC).
I run the code, but I get an error:
Compilation error
Description. An error occurred while compiling the resource required to service this request. Review the specific error data below and modify the source code accordingly.
Compiler Error Message: CS0234: The type or name of the namespace "Ajax" does not exist in the namespace "System.Web.Mvc" (do you miss the assembly reference?)
Source Error:
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Mvc;
Line 24: using System.Web.Mvc.Ajax;
Line 25: using System.Web.Mvc.Html;
Line 26: using System.Web.Routing;
Source File: c:\Users\Aindriu\AppData\Local\Temp\Temporary ASP.NET Files\root\6882868f\b519e811\App_Web_index.cshtml.a8d08dba.h-o4pos5.0.cs Line: 24
- () Manage Nuget Packages - MVC - MVC... ..... , ..
? , MVC...