diff --git a/README.md b/README.md index d2e591da..9f024a11 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ static int Main(string[] args) "MyMainDomain", null, current.SetupInformation, new PermissionSet(PermissionState.Unrestricted), strongNames); - var exitCode = domain.ExecuteAssembly(Assembly.GetExecutingAssembly().Location); + var exitCode = domain.ExecuteAssembly(Assembly.GetExecutingAssembly().Location, args); // RazorEngine will cleanup. AppDomain.Unload(domain); return exitCode;