DynamicRun Dynamically run code using .NET (Core 3.0, Core 3.1, 5, 6, 7 and 8) Roslyn and AssemblyLoadContext You can read about it on my blog "Dynamically compile and run code using .NET Core 3.0"