public static int Main(string[] args) { AppDomain.CurrentDomain.AssemblyResolve += GameBase.CurrentDomain_AssemblyResolve; var game = new SpaceGame(); return(game.InitGame(args)); }
public static int Main(string[] args) { AppDomain.CurrentDomain.AssemblyResolve += GameBase.CurrentDomain_AssemblyResolve; AppDomain.CurrentDomain.ReflectionOnlyAssemblyResolve += GameBase.CurrentDomain_ReflectionOnlyAssemblyResolve; try { var game = new SpaceGame(); return(game.InitGame(args)); } catch { CheckForUpdate(); throw; } }