nissl-lab / npoi

a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
Apache License 2.0
5.66k stars 1.42k forks source link

Support NativeAOT #957

Open AhmedZero opened 1 year ago

AhmedZero commented 1 year ago

I hope to Support NativeAOT (reflection-free)

tonyqus commented 1 year ago

I don't remember NPOI use reflection in code. Can you give me an example? Why do you think NativeAOT is good for NPOI?

AhmedZero commented 1 year ago

1- https://github.com/nissl-lab/npoi/blob/37a8435dc4d613d9cf6145d044e4bf28bdfc3e4e/ooxml/XSSF/UserModel/XSSFFactory.cs#L66 2- faster startup and less memory.