I have installed the nuget package exceldatareader and the extension exceldatareader.dataset but when trying to reference it in the using statement it does not recognize it
'''
using Microsoft.AspNetCore.Mvc;
using FleetManagerComLog.Models;
using ExcelDataReader;
using ExcelDataReader.DataSet;
'''
I have confirmed via the NugetPackage manager that it is installed.
When trying to add it via the using I do get the following options .Core, .Exceptions & .Log but not .DataSet.
/Edit
Error using .AsDataSet() after using ExcelDataReader has been added
/Edit 2
Image of the Solution Explorer
/Edit 3
/Thomas
AsDataSet()is defined in theExcelDataReadernamespace, in theExcelDataReader.DataSetpackage. There's no separateExcelDataReader.DataSetnamespace. You only needusing ExcelDataReaderto useAsDataSet():You do have to add the
ExcelDataReader.DataSetpackage though