protected static void Build(string[] args) { string xmlPackage = args[1]; string path = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); string output = "output"; Builder.DocumentBuilder builder = new Builder.DocumentBuilder(); builder.Path = path; builder.Package = xmlPackage; builder.Output = output; builder.build(); }