private static void CreatePDF() { //this line is added in Dev string filename = @"D:\abc.pdf"; PDFDoc doc = new PDFDoc(filename, "105"); doc.ConstructPDF(); SystemUtil.OpenFile(filename); }