I have an ASP NET MVC 4 project that "works on my machine(old)". When I load a project in a fresh installation of VS 2015(on a new laptop) - a lot of assemblies are missing and when I try to build the project it complains that classes like ActionResult, Controller are missing.
I checked that on the old laptop the missing dependencies are coming from
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies
I Recommend getting them again from
Nuget for your
ActionResult Issue its
Microsoft.AspNet.Mvc which is making issue.
Open Package Manager Console and insert the command below:
Nuget has this feature that allows you to restore all the missing
Assemblies which exists in nuget. you can try that out as well.
Anyway for the rest of them install these packages below as well: