Closed davethieben closed 8 months ago
Hi, thanks!
There are two fields: Errors
and GeneratedCode
to help you out
Ah, sorry its when you run templates. There was a uservoice thread once where community asked better NullReferenceException text to see what exactly was null, with thousands of voices, but apparently this is something microsoft is not capable of 😅
One way to generate debugging info: https://github.com/adoconnection/RazorEngineCore/pull/111 not yet merged ⌛
Eak, I just hit this error and I need that debug information. It makes me sad to see the PR #111 has been stale for over a year.
done, released in 2023.11.1 https://www.nuget.org/packages/RazorEngineCore/
Hey all, thanks so much for the lib. It's a welcome upgrade over the old RazorEngine.
We've got some large Razor templates and we modify them we sometimes get errors like this:
Not very helpful, and very difficult to figure out where the problem is. Is there any way to add compile options to add debug symbols or line numbers so they show up in the stack trace? that would be immensely helpful.
TIA.