Closed jonbarkerlondon closed 5 years ago
For anyone else having this problem - I switched to RazorEngine in the end, and used this solution.
https://github.com/Antaris/RazorEngine/issues/416
Prehaps what they did there is possible for RazorTemplates too? If so maybe someone could post a code sample to explain how.
I've attempted to add the reference to system.runtime but it doesn't make any difference.
Any idea why this would occurr? It's a pretty simple razor template, with some simple objects. No attributes on any of the objects.