Maybe this is a silly problem with a very simple solution but still is a problem for me.The thing is that when I’m going to create a new strongly typed View for the action “Index” in my controller “UserController” Visual Studio is not detecting the model “User” I want to provide to my View in the observer.I’m using SharpLite template in my project so I’m storing my models(In this case “User”) in “MyProject.Domain” library.If anyone knows how to fix this, please help me.Thanks in advance.
Share
Make sure the Model class,
User, is publicly accessible and the directive in the View isfully qualified:View Markup: