I upgrade my solution from 2013 to 2015 and v4.6 framework. I have only two projects in solution. when I build my solution , it seems to build successfully but when I look at the error list, I am seeing erros on
@model and Html helpers.. etc.
It says The name "model" does not exist in the current context
The name "ViewBag" does not exist in the current context .
My application is MVC 4 version. Please help!

Bryian TanPosted Jan 24, 2017, 1:00 AM
Here what I would recommend. Go to https://github.com/bryiantan/PasswordStrengthIndicator and download one of my sample MVC 5 project. Copy all the MVC assemblies/DLL into your project bin folder, update the project references to the DLL location. Compare the sample web.config with your project web.config and make adjustment accordingly. Don't forget there are 2 web.config, one in Views folder and the other on the Root. If you application has an Area, there should a web.config in that folder too.
RakeshPosted Jan 18, 2017, 4:39 PM
Briyan, all my razor views in the solution have red underlines (errors) at @model, viewbag, Http.Partial etc. intelliSense is not working in my views..
Bryian TanPosted Jan 17, 2017, 11:48 PM
Bryian TanPosted Jan 17, 2017, 11:25 PM
Nigel FernandesPosted Jan 17, 2017, 11:13 PM
RakeshPosted Jan 17, 2017, 11:02 PM
Nigel FernandesPosted Jan 17, 2017, 9:24 PM
RakeshPosted Jan 17, 2017, 8:54 PM
Nigel FernandesPosted Jan 17, 2017, 7:15 PM