Click here to Skip to main content
15,886,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
somethig weird is happening to my visual studio 2013, it won't recognise standard MVC.net code i don't know why this is. for example this is what i get below:

http://snag.gy/bCRdy.jpg[^]

When i hover my mouse pointer on any of the red parts parts .. for example ActionResult in that image , it says ... "can not resolve symbol ActionResult" Does anyone know how i can solve this?
thank you
Posted
Comments
CHill60 10-Jun-15 9:36am    
What version of VS?
How did you start the project?

1 solution

Make sure you have
using System.Web.Mvc;
in your .cs file

Also make sure that you have the reference in your Solution Explorer, References section.

If not then I suggest the easiest way to sort this out is to create a new project, select the correct template and copy your code over into the new project.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900