Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 15, 2009 06:39 PM by shapper
Apr 15, 2009 06:04 PM|LINK
I am working an ASP.NET MVC 1.0 application and on my views the Html Helpers are not recongnized.
I even copied some code from my previous MVC application but the Html Helpers keep not being recongnized. Any idea?
I have, for example:
And on my Web.Config I have:
Any idea what is going wrong?
Apr 15, 2009 06:28 PM|LINK
Is it actually a compile error, a runtime error, or is it just intellisense that's not working?
The namespaces are right; I assume you have the latest assemblies in the references, and are using an actual ViewPage or ViewUserControl rather than a 'classic' Page or UserControl...
The only other thing that might cause it is that I"ve seen compilation errors elsewhere affect the view and either stop intellisense from working or make it look like the error is in the view, even though it happens elsewhere (this is usually b/c of deferred
Apr 15, 2009 06:39 PM|LINK
It started working out of nothing ... I just restarted VS and rebuilt it.
I had this kind of problems before but arounf Preview 2 or 3 ...
Have no idea why this happens ...