Hi,
How do I get the exact line number of the error returned when an error occurs executing a template?
This is the error message I'm currently receiving:
Hi Casper,
This is a known issue with the version of RazorEngine that we use. It doesn't play nice with some of the newer features of .NET. This has as a side effect that it doesn't load debug symbols for razor files, as discussed here: https://doc.dynamicweb.com/forum/development/development/debugging-no-symbols-loaded-for-compiled-razor-files. Line numbers come from the symbols, so that's why they don't appear.
As mentioned in the other post, we are investigating solutions, but currently we don't have a solution for this.
- Jeppe
You must be logged in to post in the forum