Open Yonoson opened 9 years ago
VB support is not that good, but you can try to look into the temp folder and look into the generated source code files to figure out what's wrong in your case.
hi in %temp% i only see some vbc.... files. (such as vbc1B362114903420D9CA73333CE7AC99F.TMP) it does not seem to be txt/human readable any way i can get the log data? all the best
There is a folder path within the error message, which should point you to the folder containing the source files... You also need to set Debug
to true
in the RazorEngine configuration for the source files to be written.
I'm getting the same error if I have a valid css style for page as @page,
I know this is old, but have you set the following?
config.Language = RazorEngine.Language.VisualBasic
I get the same error message if I don't set this config option. The default language is CSharp.
oh thanks! it wouldve been helpful back then... nowadays we just use straight html for building reports but thanks anyways, just in case... all the best!
On Sun, Jul 17, 2016 at 3:57 PM, campersau notifications@github.com wrote:
I know this is old, but have you set the following?
config.Language = RazorEngine.Language.VisualBasic
I get the same error message if I don't set this config option. The default language is CSharp.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Antaris/RazorEngine/issues/242#issuecomment-233180787, or mute the thread https://github.com/notifications/unsubscribe-auth/AKsZDRhvddiceP-OIGl0ftImw_gaGkFlks5qWibBgaJpZM4DmWOy .
Sincerely,
Yisroel M. Olewski
CEO
Machshevet.com
+972 (52) 764-9971
Websites *·* CRM · ERP · Telephony · Inventory · Content Management
I'm trying to send an Email template with Razor engine in a non MVC project. The view that I'm trying to parse is a HTML based one, so I would like to know what is the right way to work with.
My template layout looks like this:
when i run
i get an error
the error seems pretty detailed but, i have no idea HOW to add which assemblies and to where., please advise