asp.net mvc - Can't acces Html helper classes in intellisense on MVC4 newly added page -
hmm, no mvc expert , can't seem find difference here stuck asking.
i added page mvc4 app (in vs11) called test (test.cshtml) , works can't seem access html classes in intellisense. if type, example @html.beginform() shows in red underline error , when type @html. there no intellisense. can see in other pages (about.cshtml example) - use @html.whatever() can't figure out how tell new page want use classes? missing something.
i found html helper not working on nested site master page isn't same - mvc4 razor don't think have code behind page?
i don't know - hope don't sound dumb, said. not , mvc guy.
there issue asp.net mvc 4 , areas in visual studio 2012 (though perhaps qu1). open web.config file located in areas directory, , replace instances of __version__.0.0 2.0.0.0 system.web.webpages.razor, , 4.0.0.0 system.web.mvc.
Comments
Post a Comment