WriteAttributeTo does not exist


Error occurs in generated code:
"The name 'WriteAttributeTo' does not exist in the current context"

Please refer to http://forums.asp.net/t/1804428.aspx/1
Closed Dec 16, 2012 at 6:35 AM by davidebbo
This project relates to the RazorGenerator VS Extension, and the forum thread you point to does not seem related to it, so you're probably in the wrong place here :)


davidebbo wrote Dec 5, 2012 at 5:45 PM

That thread does not appear to relate to RazorGenerator.

psychonelo wrote Sep 12, 2013 at 12:00 PM

This is related to Razor Generator. I have the same problem with Razor Generator on Visual Studio 2012. The code generated by Razor Generator does not include namespaces listed under system.web.webPages.razor/pages/namespaces in Web.config and therefore a error occurs at compile time.