I am using visual studio 2017 most updated version and Asp.Net Core 2.0 SDK to create a Web Api that needs to read excel which was uploaded earlier into Azure File Storage. Now I am able to get the excel file downloaded but I need to read and parse individual cells from the excel sheet. To achieve this currently I am trying to use Package manager NPOI (Nuget).
Below is the command I am using for this:
Pm> Install-Package NPOI -Version 2.3.0
But after running this I get the below error:
Unable to find Package from NuGet
Note, I have checked in my "Project.csproj" file for adding appropriate refernce of , but even after adding it’s not working..
Below is my Project.csproj file:
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="Services\" />
<Folder Include="wwwroot\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="1.0.0" />
<PackageReference Include="AspNetCore.NPOI" Version="2.3.0" />
</ItemGroup>
<ItemGroup>
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" />
</ItemGroup>
</Project>
.... Appreciate quick response!