C# Scripting – Dynamic code execution

When using C# scripting and code reflection in .NET Framework, libraries needs to be loaded with “ScriptOptions” from Microsoft.CodeAnalysis.Scripting. This has to be done before code executes with function ScriptOptions.Default.AddReferences(). Note that this is different from dynamic code execution via…








