Is OpenXML SDK required to be installed in every computer that will run my program?

StackOverflow https://stackoverflow.com/questions/22762054

  •  24-06-2023
  •  | 
  •  

سؤال

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.

هل كانت مفيدة؟

المحلول

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).

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top