.NetCore 1.0 RC2 OpenXML Support

2019-09-14 09:17发布

问题:

Can't find any appropriate package for working with Excel in my .NetCore 1.0 RC 2

Package DocumentFormat.OpenXml 2.5.0 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package DocumentFormat.OpenXml 2.5.0 supports: net (.NETFramework,Version=v0.0)
    One or more packages are incompatible with .NETCoreApp,Version=v1.0.

I am realy stuck with it. Search on the topic returned no results.

回答1:

Currently Open XML libraries are not support for ASP.NET Core

Syncfusion File Format libraries for reading, writing and manipulating Word, Excel, PDF and PowerPoint files, will be capable of being used with ASP.NET Core 1.0 from their upcoming (June) release. Please create an thread in their support system to get more details about it.

The whole suite of controls is available for free (commercial applications also) through the community license program if you qualify. The community license is the full product with no limitations or watermarks.

Note: I work for Syncfusion.