I'm trying to read the values from an excel file's stream, unfortunately, after installing ExcelDataReader
and ExcelDataReader.DataSet
from NuGet packages, I can't create the class IExcelDataReader
. It doesn't read the Import neither.
Imports System.IO
Imports ExcelDataReader
Public Class ExcelMng
Public Function Values_GET(stream As Stream)
Dim reader As IExcelDataReader
End Function
End Class
Error found:
'IExcelDataReader' it's not defined.
Things I have tried:
- Uninstall the packages and installing them again.
- Changing versions of the packages installed (I lower them down to 3.3).
- Following tutorials online: https://www.youtube.com/watch?v=pQ1PpcIcHno.
- Restarting the project.
Relevant information:
- Platform: .NET Framework 3.5.
- Things left to do: Uninstall dll packages (I'm not really sure what that means).