Is OpenXML SDK required to be installed in every c

2019-05-20 05:03发布

Is there a way to deploy my application (which uses ClosedXML) and not be required to install OpenXMLSDKv2.msi on each computer?

If I uninstall the sdk I get this error at runtime:

I already referenced DocumentFormat.OpenXml (copy local = true) and WindowsBase (also copy local true, despite being not necessary.

DocumentFormat.OpenXml.dll and ClosedXML.dll are both on the bin folder.

1条回答
淡お忘
2楼-- · 2019-05-20 05:22

DocumentFormat.OpenXml.dll and ClosedXML.dll are both on the bin folder.

This should be enough, no installation required.

See this question for other takes on this error (for all dlls, not just ClosedXML / OpenXml).

查看更多
登录 后发表回答