volkovku / RazorTemplates

Open source templating engine based on Microsoft's Razor parsing engine. Thread safe. Allows run Razor templates outside ASP.Net MVC Projects.
Microsoft Public License
99 stars 31 forks source link

Code fails in VB.NET with anonymous types #13

Open everettcomstock opened 10 years ago

everettcomstock commented 10 years ago

Hi Kirill,

I want to keep this as short as possible, so I am going to reference another post, but I believe the RazorTemplates project is suffering from the same (or similar) issue and the RazorEngine project. I have used RazorTemplates without issue in many C# projects. I recently decided to use it in a VB.Net project and I ran into an error when attempting render a template using a VB.Net Anonymous Type. This post describes the problem exactly:

https://github.com/Antaris/RazorEngine/issues/112

Could you potentially look into this?

Thanks!

conficient commented 10 years ago

Had a quick look and added a pull request with a fix for this.

everettcomstock commented 10 years ago

Thanks!