Closed thanhnamrei closed 2 years ago
Did you ever get to the bottom of this/find a work-around? I'm having the same problem.
Did you ever get to the bottom of this/find a work-around? I'm having the same problem.
no, i used Haukcode.WkHtmlToPdfDotNet nuget, but it's not support cshtml => pdf, only html to pdf
Ah, that's a shame. Thanks for the suggestion, I'll look into it :)
I ran into this too, and found this related issue. Adding Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
to the project that is doing the view rendering fixed the issue for me.