Search code examples
c#.netexcelfilehelpers

Use filehelpers without installing Excel


Using Filehelpers I have implement a function to export some data in Excel format. However as mentioned in another question here, when deploying the application, Microsoft Excel 2000 or newer must be installed. Since I plan on deploying the application in a production server where there is no Microsoft Office, I was wondering whether there is a way to avoid the Excel installation.

Could it be f.e. that I could reference some assemblies that Filehelpers uses directly in my application or something like that?


Solution

  • The Excel support in FileHelpers come in two flavors

    • Excel with COM interface
    • Excel with NPOI library

    You must use the version of Excel Storage that uses NPOI library

    The NuGet package is:

    https://www.nuget.org/packages/FileHelpers.ExcelNPOIStorage/