Statement :
Unable to add view in controller showing error in asp.net mvc
there was an error running the selected code generator
Solution :
Just connect internet then rebuild the solution in visual studio to solve the problem, see in the video.