private void InvokeEntryPoint()
{
try
{
Script.Eval(EntryPoint + ";");
}
catch (Exception error)
{
// Ignore.
string msg = string.Format(
"Failed to initialize the package with the entry method '{0}'. Ensure the static method exists.<br/>Message: {1}",
EntryPoint,
error.Message);
SetDownloadError(msg);
}
}
#endregion