Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CompileRenderStringAsync have inconsistent problem with the model. #509

Open
0nary opened this issue Nov 18, 2022 · 1 comment
Open

CompileRenderStringAsync have inconsistent problem with the model. #509

0nary opened this issue Nov 18, 2022 · 1 comment

Comments

@0nary
Copy link

0nary commented Nov 18, 2022

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.

@jzabroski
Copy link
Collaborator

I still owe you a response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants