Corrupted workbook when open/save workbook with table+totals

Jan 14, 2016 at 5:03 AM
Edited Jan 14, 2016 at 5:18 AM
Hi

I'm getting corrupted workbooks when opening/saving workbooks using epplus.

Steps to replicate:
  1. Create a workbook in Excel with one table and show its total
  2. Open the workbook using EPPlus and save immediately after
  3. The saved workbook is corrupted.
Code is as simple as this:
    class Program
    {
        private static void Main(string[] args)
        {
            var file = new FileInfo(@"table.xlsx");
            using (var package = new ExcelPackage(file))
            {
                package.Save();
            }
        }
    }
Can someone tell me if I'm missing something?
Or is it an actual bug?

Thanks
Js