public static int Main(string[] args) { AssemblyResolution.Configure(AssemblySearchDirectories); // we have to configure the assembly resolution on it's own in this method as the ExecuteApplication needs it return(ExecuteApplication(args)); }