asp.net mvc - When upgrading from MVC 4 to 5 every razor call is beeing underlined and with an error message associated with it -


when upgrading mvc 4 5 every razor call beeing underlined , error message associated it.

the pages still works nice have error messages removed , if intellisense start working again.

i'we read using following don't.

<add namespace="system.web.optimization" /> 

there might different reason such versions of refrenced assemblies setting in web.config. make sure didn't miss step tutorial:

http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2

and link might help

http://ctsoftr.com/upgrading-from-asp-net-mvc-4-to-5/


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -