I'm trying to add NPOI to a dotnet core library targeting netcoreapp1.1.
I'm able to add to the project, but if I add this line of code
wb = new XSSFWorkbook(inputStream);
I have this error message
Reference to type 'FileInfo' claims it is defined in 'mscorlib', but it could not be found
these are the packages added to the project
Microsoft.NETCore.Portable.Compatibility Version="1.0.2"
NPOI Version="2.3.0"
System.ComponentModel.TypeConverter Version="4.3.0"
Is there a way to fix this problem?