aspnet / RazorTooling

Razor tooling for Visual Studio 2015

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IRazorViewEngine does not pick updated cshtml

KhalilMohammad opened this issue · comments

I am converting cshtml to pdf.
I am using IRazorViewEngine.
IRazorViewEngine is picking old view.
Dotnet watch does not work for this scenario.
Is there any work around, I have multiple cshtml to work on

commented

Thanks for contacting us, @KhalilMohammad.
@NTaylorMullen , can you please look into this one? Thanks!

@KhalilMohammad how are you using RazorViewToStringRenderer? Aka, are you lifting that method directly into your site? That samples normal usage scenario is run once and then it goes away (an exe) so i'll need more context 😄

I use this generate pdf from html.
In production ,It will be run once.
In development, I need to change html to get perfect alignment.

commented

@KhalilMohammad, can you please provide a repro project to simplify the investigation?

commented

This issue was moved to aspnet/Razor#2305