Could not delete C:\Windows\TEMP\RazorEngine_twyaoezb.xx5: System.UnauthorizedAccessException: Access to the path 'CompiledRazorTemplates.Dynamic.RazorEngine_d0d203368fb64296945dbb5fad64359c.dll' is denied. at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) at RazorEngine.Compilation.CrossAppDomainCleanUp.CleanupHelper.DoCleanUp()
when i search on the error its issue on RazorEngine but older version
https://github.com/Antaris/RazorEngine/issues/244
any idea to fix this?