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

Folder generated in temp directory doesn't get deleted. #20

Open
Angele opened this issue Oct 26, 2018 · 2 comments
Open

Folder generated in temp directory doesn't get deleted. #20

Angele opened this issue Oct 26, 2018 · 2 comments

Comments

@Angele
Copy link

Angele commented Oct 26, 2018

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 Angele changed the title Folder generated in temp directory Folder generated in temp directory doesn't get deleted. Oct 26, 2018
@berniefitz82
Copy link

Any update on this bug?

@Angele
Copy link
Author

Angele commented Mar 5, 2020

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.

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