public static int Main(string[] args) { #if DEBUG if (args.Contains(DebugOption, StringComparer.OrdinalIgnoreCase)) { args = args.Where(arg => !string.Equals(arg, DebugOption, StringComparison.OrdinalIgnoreCase)).ToArray(); System.Diagnostics.Debugger.Launch(); } #endif #if IS_DESKTOP // Find any response files and resolve the args if (!RuntimeEnvironmentHelper.IsMono) { args = CommandLineResponseFile.ParseArgsResponseFiles(args); } #endif return(MainCore(Directory.GetCurrentDirectory(), args)); }
private static string[] ParseArgs(string[] args) { return(CommandLineResponseFile.ParseArgsResponseFiles(args)); }