public static void Main(string[] args) { #if !DEBUG if (args.Length != 2) { Console.WriteLine("Usage : xib2xaml <infile>.xib <outfile>.xaml"); Environment.Exit(-1); } var convert = new Converter(args[0], args[1]); convert.ConvertFile(); #else var convert = new Converter("Test.xib", "Test.xaml"); convert.ConvertFile(); #endif }