public void Unregister(InvocationContext context) { try { FileAssociation.Unassociate(); Console.WriteLine("Unregistered MGCB Editor!"); } catch (Exception ex) { Console.Error.WriteLine("Failed to unregister MGCB Editor due to:" + Environment.NewLine + ex); throw; } }
public void Unregister(InvocationContext context) { try { FileAssociation.Unassociate(); Console.WriteLine(""); Console.WriteLine("Unregistered MGCB Editor!"); } catch { Console.WriteLine(""); Console.Error.WriteLine("Failed to unregister MGCB Editor"); throw; } }