dotnetcore / NPOI

A .NET library for reading and writing Microsoft Office binary and OOXML file formats.
Apache License 2.0
1.93k stars 413 forks source link

Could not load file or assembly 'System.Drawing.Common, Version=0.0.0.0, Culture=neutral #144

Open rluisnpt1 opened 5 years ago

rluisnpt1 commented 5 years ago

npoi DotNetCore.NPOI 1.2.2

protected ISheet Sheet;

//for each result I usualy add an AutoSizeColumn.

However now I got a message "Could not load file or assembly 'System.Drawing.Common, Version=0.0.0.0, Culture=neutral"

for (var i = 0; i < Headers.Count; i++) { Sheet.AutoSizeColumn(i); }