Closed tugcearar closed 3 years ago
Use Cake Frosting. Don't use Cake Script.
Please confirm this works for you.
@stugcearar Happy end of year - any chance you can let me know if using Cake Frosting works?
Hello @jzabroski, I am working on it. I will post the result later today. Thanks!
Please use RazorLight 2.0.0-rc.3 as well. Thank you and I will try to see what you have to say.
Hello, it is working. Thanks 👍🏻
@stugcearar Thank you! Feel free to publish a gist or pull request to demo it for others. Thanks.
Describe the bug One or more errors occurred. (Can't load metadata reference from the entry assembly. Make sure PreserveCompilationContext is set to true in *.csproj file
To Reproduce Use CompileRenderAsync in cake script file.
Expected behavior Works and create expected result.
Information (please complete the following information):
Where should I add the PreserveCompilationContext file in cake script? By the way I used it for create a csproj file from cshtml template.