I'm getting an error in Visual Studio 2015 I was using windows 8.1 and visual studio 2013 and all projects with asp.net MVC 5 were working and developing fine without any error.
Since I installed windows 10 and visual studio 2015 my whole ASP.NET MVC 5 project doesn't work well.
I created new default template in visual studio 2015 to check them. I got the same error on those new project also.
I get errors as :
CS0234 The type or namespace name 'Mvc' does not exist in the namespace 'Microsoft.AspNet' (are you missing an assembly reference?)
And
The name "Layout" doesn't exist in current context.
**Things I have already Tried: **
- Repaired VS 2015.
- Uninstalled and installed Install-Package Microsoft.AspNet.Mvc from Nuget
- Copy Local = True
- System.web.MVC already referenced.
- The version of web.config all places 5.2.3.0