RazorTemplates icon indicating copy to clipboard operation
RazorTemplates copied to clipboard

Folder generated in temp directory doesn't get deleted.

Open Angele opened this issue 7 years ago • 2 comments

Hi

TemplateCompiler.cs line 106 generates a new Directory in Temp for every compiled view.

Even tough the TempFileCollection deletes the file in it, is there a possibility to get rid of that directory? Is there any reason not to use CompileAssemblyFromSource provided with in memory string parameters? (same class, line 69)

Hope somebody still gets this.

Angele avatar Oct 26 '18 16:10 Angele

Any update on this bug?

berniefitz82 avatar Nov 12 '19 00:11 berniefitz82

Yeah looks like this project was abandoned. If you don't mind memory leaks and high issue count i suggest using RazorEngine. If you can have you're project run on .Net Core or .Net framework 4.7.2 and higher you can try RazorLight. That last one is still active in development and has low issue count, but i havn't tested it yet.

Angele avatar Mar 05 '20 11:03 Angele