Missing IsPost, Html.Raw, RenderPage, Href in VS Web Application
I'm exclusively using Razor on Umbraco 4.7.0 and the documentations (from this Wiki and Google) on how to configure your Visual Studio using Web Application project are sparse. After hours of searching and frustration, I cannot use the standard Razor properties and methods like "IsPost, Html.Raw, RenderPage, Href" because I keep getting errors and no autocomplete in Visual Studio?
Thank you Sebastiaan Janssen. I'm not doing an upgrade, a fresh install of Umbraco 4.7.0 and a new VS project to build DLL files. My "Visual Studio 2010 Web Application Project" project finally recognizeRazor more (e.g. IsPost, RenderPage) and the Razor warnings are gone from the "Error List" panel.
The other errors I'm getting is related to the "asp" control tags:
Element 'placeholder' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.
Attribute 'recursive' is not a valid attribute of element 'item'.
Unrecognized tag prefix or device filter 'asp'.
Missing IsPost, Html.Raw, RenderPage, Href in VS Web Application
I'm exclusively using Razor on Umbraco 4.7.0 and the documentations (from this Wiki and Google) on how to configure your Visual Studio using Web Application project are sparse. After hours of searching and frustration, I cannot use the standard Razor properties and methods like "IsPost, Html.Raw, RenderPage, Href" because I keep getting errors and no autocomplete in Visual Studio?
Please help.
In appSettings you're missing:
Other than that it looks good. Have you tried a clean install of 4.7 (sounds like you're doing an upgrade)?
What errors are you getting (or what indicates that it's not working)?
Thank you Sebastiaan Janssen. I'm not doing an upgrade, a fresh install of Umbraco 4.7.0 and a new VS project to build DLL files. My "Visual Studio 2010 Web Application Project" project finally recognize Razor more (e.g. IsPost, RenderPage) and the Razor warnings are gone from the "Error List" panel.
The other errors I'm getting is related to the "asp" control tags:
Here is my web.config, part of it:
Please help. Thank you.
is working on a reply...