internal static void Initialize() { // initialize from app core var instance = new ScriptingManagerImpl(); var prop = typeof(ScriptingManager).GetProperty("Instance", BindingFlags.Static | BindingFlags.Public); prop.SetValue(null, instance); instance.ExecuteScripts(); }