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

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

  •  24-06-2023
  •  | 
  •  

Pergunta

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.

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top