1. Write Code in the Asp.net MVC controller class.
2. Right Click on the Action method and click Add View
3. Select ‘Create a Strongly Typed View’
4. View Data class drop down is empty or View Dataclass does not have the class name
Build / rebuild the Solution and make sure it compiles successfully.
Try Add View now. The view dataclass should be appearing in the drop down.