smsohan / MvcMailer

A Mailer for ASP.Net MVC that forms the Email Body using MVC Views (Razor etc.) following Ruby on Rails ActionMailer style
MIT License
584 stars 178 forks source link

Support for VB.NET projects #40

Open ndc opened 12 years ago

ndc commented 12 years ago

I have added 12 T4 templates so the scaffold can produce VB.NET files.

Razor generation works but ASPX has some errors. I don't know enough T4Scaffolding to debug it.

Not sure about the location either. I put it in Mvc.Mailer\NuGet\input\tools. Should it be in Mvc.Mailer\NuGet\output\MvcMailer.1.0.nupkg\tools ?

nwbbc commented 11 years ago

Can you merge these changes into the master? It is the only way I can scaffold while using VB

smsohan commented 11 years ago

@nwbbc did you check if this still works with a C# project, meaning the right templates being used for C# based projects?

smsohan commented 11 years ago

@nwbbc the templates need to go under tools/vb folder.

smsohan commented 11 years ago

I can merge this PR if you kindly changed the files to the right places.

rastographics commented 11 years ago

I would merge if I knew how. I just was looking for a way to make this work with VB and @ndc had this solution so I was hoping somone, maybe @ndc can fix it where it needs to go so it can be merged.

Thank you, it is very helpful code.