RazorLight icon indicating copy to clipboard operation
RazorLight copied to clipboard

CompileRenderStringAsync have inconsistent problem with the model.

Open 0nary opened this issue 3 years ago • 1 comments

Describe the bug When I run tests in a github workflow using CompileRenderStringAsync , I get this error in 2.3.0 : RazorLight.Compilation.TemplateCompilationException : Failed to compile generated Razor template: Or this one in 2.0.0-rc.3 : System.NullReferenceException : Object reference not set to an instance of an object.

To Reproduce You can find it in my repos : https://github.com/0nary/RazorLightTemplateRendererTesty

Expected behavior I expected the method CompileRenderStringAsync to work consitently.

Additional context The same tests work fine when I run it on my visual studio.

0nary avatar Nov 18 '22 08:11 0nary

I still owe you a response.

jzabroski avatar Nov 28 '22 19:11 jzabroski