volkovku / RazorTemplates

Open source templating engine based on Microsoft's Razor parsing engine. Thread safe. Allows run Razor templates outside ASP.Net MVC Projects.
Microsoft Public License
99 stars 32 forks source link

CrowdStrike.Sensor.ScriptControl17312.dll could not be found #23

Open stojanovska-nikolina opened 10 months ago

stojanovska-nikolina commented 10 months ago

We are using RazorTemplates as part of our project, but we have an issue that occurs when CrowdStrike is updating. Compilation of the template throws the following error:

"RazorTemplates.Core.TemplateCompilationException: An errors was occured on template compilation:
error CS0006: Metadata file 'C:\Windows\SysNative\CrowdStrike.Sensor.ScriptControl17312.dll' could not be found"

Typically, this issue is resolved by restarting the server machine where the template engine is actively running. This becomes an issue in production since the system has to be online 24/7 and the restart of the machine is not always possible.

Is there any other way to make templates work after CrowdStrike update (without restarting the computer)?