Last post Jan 20, 2018 07:38 PM by kashyapa
Jan 04, 2017 10:34 AM|Summit Kakkar|LINK
I have to update cell values in an excel sheet( office 2010) through ASP.NET CORE Console application.
I am looking for some dll/package from Microsoft. But most of the dll/package does not support ASP.NET CORE and I got below error:
Package XXXXX is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0).
One or more packages are incompatible with .NETCoreApp,Version=v1.0.
NOTE: Strictly not have to use Install-Package Shaman.EPPlus,
I mean we are preferring packages of Microsoft technologies. So looking for any workaround for this.
Jan 20, 2018 07:38 PM|kashyapa|LINK
hi. you can use Open XML SDK to work with office documents.
You need to first understand that .NET full framework and .NET Core framework are two different things. Libraries developed by targeting exclusively .NET Full framework may not work on .net core and libraries developed targeting exclusively .net core may
not work on .net full framework.
Open XML SDK seems to have .net core framework support. Take a look at the official nuget package here:
https://www.nuget.org/packages/DocumentFormat.OpenXml/. And here is the github repo for the SDK -
hope this helps.