When I try to create a view from the action method of some controller (right click β Add view β select Strongly typed view) I get the following error:
When starting the templates, there were the following 2 errors:
c: \ Users (...) \ AppData \ Local \ Temp \ b1b5zy30.0.cs (5,33): error CS0234: conversion compilation: The type or name of the namespace 'DataAnnotations' does not exist in the namespace' System.ComponentModel '(do you miss the assembly reference?)
c: \ Users (...) \ AppData \ Local \ Temp \ b1b5zy30.0.cs (6,23): error CS0234: Translation compilation: The type or name of the Linq namespace does not exist in the namespace 'System.Data' ( Do you miss the assembly link?)
Does anyone know what is going on? It worked a couple of days ago, and until I made changes to the MVC installation
thanks
source share