jlamfers / RazorMachine

RazorMachine is a robust Razor 2.0 templating engine that supports layouts as well as a _viewStart construct like Asp.Net MVC
120 stars 32 forks source link

CS1704 and CS1703 happening when rendering view #43

Open xXMateus97Xx opened 6 years ago

xXMateus97Xx commented 6 years ago

I'm using Razor Machine 2.6.1 with MVC 4 and sometimes when rendering a view from cshtml file, the erros CS1704 and cs1703 occurs for some dlls. There are no pattern for what dll the error points to, it was happen since some dlls os my project until the Asp.Net MVC dll.

Another point is that I have a class that inherits from TemplateBase that I used to do some helpers, and my view inherits from this class.

RichieOrtiz commented 3 years ago

I'm using Razor Machine 2.6.1 with MVC 4 and sometimes when rendering a view from cshtml file, the erros CS1704 and cs1703 occurs for some dlls. There are no pattern for what dll the error points to, it was happen since some dlls os my project until the Asp.Net MVC dll.

Another point is that I have a class that inherits from TemplateBase that I used to do some helpers, and my view inherits from this class.

Did you ever find a resolution to this issue?

lahma commented 3 years ago

RazorMachine served us well but we eventually migrated to something else (Liquid templates with Fluid). As the development has stalled a bit, you might also consider alternatives like RazorLight.

RichieOrtiz commented 3 years ago

Thank you!