예제 #1
0
 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;
     }
 }
예제 #2
0
파일: Program.cs 프로젝트: zad15c/MonoGame
 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;
     }
 }